Azure / sql-action

🚀 Deploy changes to your SQL database easily with SQL projects or SQL scripts and sql-action for GitHub workflows
MIT License
103 stars 58 forks source link

Az login issue #216

Closed sekharreddy2772 closed 2 months ago

sekharreddy2772 commented 7 months ago

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.

github-actions[bot] commented 6 months ago

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

dzsquared commented 6 months ago

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

github-actions[bot] commented 6 months ago

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

dzsquared commented 2 months ago

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