Based on the error message, it seems the issue is with the authorization. I believe there is a problem in the service principal configuration, can you double check that part and post results here.
Azure Function Storage Authorization Failure
I am testing Azure Functions to execute a PowerShell script
The AZ Function performs storage operations (copy/move/delete).
The service principal is used for auth of services (AZ Function/Storage)
The Storage firewall is enabled, Az Function Public IPs are whitelisted on the storage firewall and working well with Environment-A
The Azure Function executes well in one of the Environment-A, but the problem occurs in Environment-B.
The configuration is similar and in place,
As the Storage firewall is enabled in Environment-A and Environment-B,
We changed the Firewall to allow all networks and it worked as Environment-A,
and when selecting the option "Enabled from selected VNET and IPs" we are facing the issue as the image attached, the AZ Function IPs are whitelisted.
We noticed your have rated low on one of the answer as not helpful. Thank you for taking time to share feedback.
Requesting you to check recent answer provided by SaiKishor-MSFT to see if that is helpful.
We are here to help you and strive to make your experience better and greatly value your feedback. If the answer is helpful, request you to take a resurvey.
Looking forward to your reply. Much appreciate your feedback!
Sign in to comment