Skip to content

Conversation

@htekdev
Copy link

@htekdev htekdev commented May 19, 2023

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'

@htekdev htekdev changed the title Adding support for Scope Level Configuration Support for Scope Level Configuration May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant