Grant a storage queue role to the app registration
Give the app registration the Storage Queue Data Contributor role so it can read, write, and delete on storage queue messages.
In this step you give the Storage Queue Data Contributor role to the app registration for the connection that your Microsoft Azure dataset is associated with. This role enables the app registration to read, write, and delete on storage queue messages. For more information about role assignment in Microsoft Azure, see the Azure RBAC documentation: Assign Azure roles using the Azure portal
- You must have completed the previous task. See Grant permission to the Event Grid to write to the storage queue.
-
You must have the name of the app registration for the connection that your dataset is associated with. For instructions on how to get this see the prerequisites for this set of tasks at Ensure the Microsoft Azure dataset and its data catalog stay in sync.
- In the Azure portal, go to the Storage accounts page and open the details for your storage account.
- In the left menu, select Access Control (IAM).
- Select + Add and then select Add role assignment.
- On the Add role assignment page, search for the Storage Queue Data Contributor role, then select Next.
- Under Assign access to, select User, group, or service principal, then choose Select members.
- In the Select members dialog box, search for the name of the app registration for the connection to which your dataset is associated.
- Select the app registration name from the results.
- Choose Select, then select Review + assign.
- Review the settings and select Review + assign again to confirm.