question

AngeloMontagner-7410 avatar image
0 Votes"
AngeloMontagner-7410 asked joshmouch commented

Unable to create Container app

When I try to create a container app. I get this error. Is this a problem with my subscription?

From our Resource Group: “/subscriptions/resourceGroups/XXXX”;

when we attempt to create a new Container App through the portal we receive the following ‘Authorization’ Error:

{
"error": {
"code": "AuthorizationFailed",
"message": "The client 'XXXXXX@XXXXX' with object id 'XXXXXXXXX' does not have authorization to perform action 'Microsoft.App/register/action' over scope '/subscriptions/XXXXXXXXXX' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed)"
}
}

We are able to create Container Instances, App Services, and other Azure Resources…


azure-container-instances
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AngeloMontagner-7410,

Can you please share the steps you are following to create the container app, are you using any document that you can share?

The request could be rejected due to credentials failure. Could you verify for passwordSecretRef , the value for "container registry password" is the registry, (i.e. ACR) password and not, for example, the secret value?

Please confirm that you have owner role in the subscription. If not, follow the steps provided in the document below to achieve it:
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/add-change-subscription-administrator#assign-a-subscription-administrator

Azure Container Apps is currently in "Preview" which means not feature complete and consequently not recommended for production as support could be limited.


0 Votes 0 ·

I also get this error and cannot get owner role on the subscription due to security concerns. However, I am an owner on the Resource Group the container app is being created in.

0 Votes 0 ·

0 Answers