login
login copied to clipboard
Support for Scope Level Configuration
Support for using scope-level
Capability has been added to support access to the different scope levels (subscription, managementgroup, or tenant) for both OIDC and non-OIDC. This can be useful if you need to target a particular management group and actually if scope level is tenant its the same as having allow-no-subscription enabled
# File: .github/workflows/workflow.yml
on: [push]
name: AzureLoginWithNoSubscriptions
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
scope-level: 'managementgroup'