An Azure service that provides an event-driven serverless compute platform.
Hi @Talia,
Thanks for reaching out to Microsoft Q&A.
You can't create function App because your account lacks the required subscription-level permissions to register resource providers or create Function App resources.
If you have Contributor/Owner permission at subscription level, you can create the function app directly. If you have the owner/contributor access on the subscription and still facing issue, try logging out and re-login to your subscription and check.
- I have tested the same from my end and faced the same issue. You will not be able to create function App with only Contributor role at resource group even through portal:
The client 'XXX.om' with object id 'cdXXee0be' does not have authorization to perform action 'Microsoft.App/register/action' over scope '/subscriptions/5XXX88f855' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed) (Code: AuthorizationFailed)
- Even if you have access at the resource group level, actions like
Microsoft.App/register/actioncan only be performed at the subscription scope. - Assigning Contributor or Owner at the subscription level allows creating and registering resources. After the role is added, refresh your credentials and retry publishing.
Ask an existing Owner or User Access Administrator of the subscription to grant access Contributor or Owner role to your user account.
Could you please provide me with a detailed step-by-step tutorial on how to add Owner/Contributor access permissions to a subscription?
- To assign Owner/Contributor roles at the subscription level, go to Azure Portal => Subscriptions => Access control (IAM) and click Add role assignment.
- Choose the appropriate role (Owner or Contributor) and assign it to a user, group, or service principal.
- If you don't have permission to assign at subscription level, ask an existing Owner or User Access Administrator to grant access.
Hope it helps!
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you.