Received data share not mapping to SQL db target - permissions error

Mark Wright 21 Reputation points
2022-06-30T11:13:48.803+00:00

We are testing the process for data share and have set up source shares from SQL db on our primary azure domain and shared them to accounts on our secondary azure domain.

We can accept the share invite and successfully map the source SQL data to blob storage but when we attempt to map the same share to a target SQL db we get the error:

Mapping failed. Please check Troubleshoot Azure Data Share for help and try again.

Data Share account's Managed identity is missing required permissions on database. For more details, please refer to https://learn.microsoft.com/en-us/azure/data-share/subscribe-to-data-share

We have followed all the troubelshooting tips and can confirm the Data Share external user has the 3 roles on the target db (db_datareader, db_datawriter, db_ddladmin).
We have also made the Data Share identity a Contributor on the target SQL server.

Is there anything else we need to update or checks we can run to find out why the data share is not mapping to SQL target. We really need to prove this process before we offer it to our clients so any help that can be provided would be gratefully received.

Thanks

Azure Data Share
Azure Data Share
An Azure service that is used to share data from multiple sources with other organizations.
43 questions
Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Mark Wright 21 Reputation points
    2022-07-28T08:20:17.363+00:00

    Resolution update:

    After much analysis the issue was traced to the fact that the target database had a '.' in the name - the db name was 'Ortsiam.Reporting.Dev'. This was preventing the permissions check from operating correctly.

    They are working on a fix to handle this situation now.

    1 person found this answer helpful.