An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
Hi @Janczewski, Michal ,
Thanks for reaching out to Microsoft Q&A.
Here’s how you can enhance the security of your Azure storage setup by removing the "Allow Trusted Microsoft Services to access this resource" checkbox.
- Instead of allowing all Microsoft services unrestricted access, configure a managed identity for your Event Grid. This identity will authenticate with your Storage Account securely without compromising security.
- Set up an access policy in your Storage Account that allows your Event Grid's system-assigned managed identity to have the necessary permissions (like Read, Write) on the specific queues.
- If your Storage Account has firewall rules, ensure that the managed identity can access the account by adding the necessary permissions for its service endpoint.
- Once you have configured the managed identity and permissions properly and confirmed that everything is functioning, you can safely disable the "Allow Trusted Microsoft Services to access this resource" option.
- Finally, monitor your Event Grid subscriptions to ensure events are being successfully sent to the Storage Queues.
Reference Actions:
- Go to your Storage Account in the Azure portal.
- Navigate to the "Access Control (IAM)" section and add a role assignment for your Event Grid's managed identity.
- Review the "Networking" tab to manage firewall and virtual network settings.
This setup should allow you to maintain the necessary integration without relying on broader permissions that could introduce security risks.
Hope this helps! If you have any further questions or need more assistance, feel free to ask!
References: