sql-action icon indicating copy to clipboard operation
sql-action copied to clipboard

Az login issue

Open sekharreddy2772 opened this issue 1 year ago • 3 comments

Error:1 Done setting cloud: "azurecloud" Note: Azure/login action also supports OIDC login mechanism. Refer [https://github.com/azure/login#configure-a-service-principal-with-a-federated-credential-to-use-oidc-based-authentication] for more details. Attempting Azure CLI login by using service principal with secret... Error: The subscription of '0b6fcf9a-a18f-47b8-b229-01cde8a03feb' doesn't exist in cloud 'AzureCloud'.

Error: Login failed with Error: The process '/usr/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to [https://github.com/Azure/login#readme] for more information.

Error:2 Attempting Azure CLI login by using service principal with secret... Error: The subscription of '0b6fcf9a-a18f-47b8-b229-01cde8a03feb' doesn't exist in cloud 'AzureCloud'.

Error: Login failed with Error: The process '/usr/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.

  1. Double check if the 'auth-type' is correct. Refer to [https://github.com/Azure/login#readme](https://apc01.safelinks.protection.outlook.com/for more information. Code: ResourceGroupNotFound Message: Resource group 'ipssq00rgpprmry' could not be found.

We are getting above 3 error in the workflow,once we re-trigger the same job it's getting successful run without changing anything.

sekharreddy2772 avatar Apr 23 '24 11:04 sekharreddy2772

This issue is idle because it has been open for 14 days with no activity.

github-actions[bot] avatar May 07 '24 12:05 github-actions[bot]

@sekharreddy2772 - is this error coming from the az-login step of the workflow or the sql-action step?

dzsquared avatar May 08 '24 22:05 dzsquared

This issue is idle because it has been open for 14 days with no activity.

github-actions[bot] avatar May 23 '24 00:05 github-actions[bot]

Closing this issue until @sekharreddy2772 can clarify which step is throwing the error

dzsquared avatar Sep 11 '24 16:09 dzsquared