Hi Nicole G,
Yes, you need to ensure that Managed Identity has the correct permissions configured in Azure. The basics to follow.
1. Assign roles to the managed identity: Login to the Azure portal, navigate to the resource (e.g., storage account) for which you want managed access, select Access control (IAM) from the left-hand menu, and click Add role assignment, Select the appropriate role (e.g., Storage Blob Data Contributor, Storage File Data SMB Share Contributor) and assign it to Managed Identity.
https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal-managed-identity
2. Verify the assignments: ensure that the required role is assigned to the appropriate location (e.g. member, object group, or specific object) of the managed identity. You can check this under the Role assignments section of the Identity tab of the managed identity
3. Network Configuration: Ensure that the network settings allow access to the IP address or virtual network where your runbook is running. The sources of the sources. For a level of security, consider using Azure Virtual Network service endpoints or private endpoints to connect to your storage account. This ensures that traffic is delivered properly within the Azure network.
By following these, you can set up a managed identity with the necessary permissions to avoid 403 errors and allow network access.
Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.