-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update _profile.py to allow azure-devops plugins to use user assigned managed identities #26776
base: dev
Are you sure you want to change the base?
Conversation
Hi @JayDoubleu, |
❌AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Thank you for your contribution JayDoubleu! We will review the pull request and get back to you soon. |
Thank you for your contribution! We will review the pull request and get back to you soon. |
@@ -365,7 +365,7 @@ def get_raw_token(self, resource=None, scopes=None, subscription=None, tenant=No | |||
if identity_type: | |||
# managed identity | |||
if tenant: | |||
raise CLIError("Tenant shouldn't be specified for managed identity account") | |||
tenant = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #26775 (comment)
Silently discarding tenant
for managed identity may lead to unexpected and misleading behaviors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great feedback, I don't have time to look into strategic solution for this but the fundamental functionality of managed identities for artifacts is broken because of this so I'm not sure who/if there's someone to look at it ?
resolves #26775