mspnp / serverless-reference-implementation

Serverless reference implementation guidance
MIT License
179 stars 93 forks source link

az ad sp create-for-rbac --role="Contributor" --sdk-auth does not work #130

Closed NathanDotTo closed 7 months ago

NathanDotTo commented 7 months ago
export SP_DETAILS=$(az ad sp create-for-rbac --role="Contributor" --sdk-auth)
WARNING: Option '--sdk-auth' has been deprecated and will be removed in a future release.
ERROR: Usage error: To create role assignments, specify both --role and --scopes.

In any case, this should probably be a managed identity. In which case we need to know how to get the JSON body for that managed identity.

v-fearam commented 7 months ago

I wanted to inform you that the issue has been addressed in the pull request #125. I will proceed to close the ticket. However, if you encounter any further issues or have additional feedback, please feel free to open a new ticket.