azure-cli-extensions
azure-cli-extensions copied to clipboard
Incorrect Scope for Data Factory Git Configuration
Related command
az datafactory configure-factory-repo
Extension name (the extension in question)
datafactory
Description of issue (in as much detail as possible)
We have some users who have privileges restricted to specific resource groups and do not have access to the subscription as a whole. These users are able to configure their Data Factory in their resource group perfectly fine if done through the web interface, but the corresponding configuration through the az datafactory configure-factory-repo fails with the error:
ERROR: (AuthorizationFailed) The client '[email protected]' with object id '[redacted]' does not have authorization to perform action 'Microsoft.DataFactory/locations/configureFactoryRepo/action' over scope '/subscriptions/[redacted]' or the scope is invalid.
This issue has been raised separately in the main Azure CLI repo at Azure/azure-cli#18402, but I have opened one here as this is probably where the fix would need to be implemented.
Thank you for your feedback. This has been routed to the support team for assistance.
route to CXP team
Already being investigated here https://github.com/Azure/azure-cli/issues/18402
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
Hi @JP-Ellis-KPMG, since you haven’t asked that we “/unresolve” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve” to reopen the issue.