Azure / powershell

GH Action to run Az PowerShell scripts for developers and administrators to develop, deploy, and manage Microsoft Azure applications.
MIT License
62 stars 40 forks source link

Get-AzUserAssignedIdentity command not working #103

Closed ksolanki2 closed 6 months ago

ksolanki2 commented 6 months ago

Get-AzVM, Get-AzResourceGroup and Get-AzUserAssignedIdentity commands are not working.

We are calling PS script from GitHub Actions, inside which we are calling these commands.

We are using below for yaml file: runs-on: ubuntu-latest steps:

https://github.com/allscriptshealthcare/ALT-CDO-Azure/actions/runs/8690262646/job/23829783601

ksolanki2 commented 6 months ago

Issue was with the spn which is used for the login. It does not have access to the subscription, because of which commands were not returning anything. We have given it required access after which commands started working again.

Our subscription was moved to a new management group because of which access was removed.