Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
This repository was archived by the owner on May 18, 2026. It is now read-only.

Missing --scope Argument in az role assignment create Command #12

Description

@harisonmg

When running the oidc.sh] script, the following error occurs during the role assignment creation step:

Creating service principal...
Sleeping for 30 seconds to give time for the SP to be created.
Creating role assignment...
the following arguments are required: --scope

Steps to Reproduce

  1. Execute the oidc.sh script with appropriate arguments.
  2. Observe the error message indicating that the --scope argument is missing.

Expected Behavior

The script should successfully create a role assignment without errors.

Actual Behavior

The script fails with an error message indicating that the --scope argument is required.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions