-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy management failed - AZURE_CREDENTIALS set as GitHub secret #2984
Comments
@dusan-ilic-mhra please verify that the format & values corrosponds to the example given here. |
@tamirkamara Where I can find resourceManagerEndpointUrl for the existing ARM client ID? |
@tamirkamara Following your comment to take a look at this link https://github.com/marketplace/actions/azure-login#configure-deployment-credentials I run a command for the existing App Reg: az ad sp create-for-rbac --name "App_Reg_Name" --role contributor --scopes /subscriptions/Subscription_ID/resourceGroups/management_rg_name --sdk-auth and I’ve got this output: { I put this output in as AZURE_CREDENTIALS in GitHub secrets and still getting this error: |
@tamirkamara You can close this issue as we solved it by adding new secrets: Thank you for your support. |
Describe the bug
We upgraded the OSS version to 0.7.0 and now we are facing this issue when we deploy using CI:
I reviewed this PR:
#2654
and created AZURE_CREDENTIALS as a GitHub secret in the mentioned format:
{
"clientId": "xxx",
"clientSecret": "xxx",
"tenantId": "xxx",
"subscriptionId": "xxx",
"resourceManagerEndpointUrl": "management.azure.com"
}
Steps to reproduce
Do I miss something? Could you please help us because this is currently a blocker for us?
The text was updated successfully, but these errors were encountered: