An Azure service that provides an event-driven serverless compute platform.
Hi @Zhu, Ning (CTR) I'm glad that you were able to resolve your issue and thank you for letting us know what worked for you so that others experiencing the same thing can easily reference this! I'll repost your solution in case you'd like to accept the answer.
Error Message:
The client 'xxxx' with object id 'xxxx' does not have authorization to perform action 'Microsoft.App/register/action' over scope '/subscriptions/xxxx' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed) (Code: AuthorizationFailed)
Issue:
Trying to create an Azure function inside a GCC cloud environment and stumbled into the above-mentioned error
Solution:
You need to 'register' the Microsoft.App resource with your subscription.
- Select the subscription you're using.
- Go to Resource Providers.
- Search for
Microsoft.Appand click Register.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this helps!
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.