-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Using the DefaultProfile parameter raises an error on Az 6.2.0 #15425
Labels
Accounts
Issues in Az.Accounts except authentication related
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
P0
Milestone
Comments
OmriAvissar
added
the
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
label
Jul 7, 2021
ghost
added
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
customer-reported
labels
Jul 7, 2021
I've tried using Az.Accounts version 2.4.0 instead of 2.5.0. It seems to work fine. |
Thanks @OmriAvissar . We will look into this issue with high priority. It should be one regression issue in Az.Accounts 2.5.0 |
dingmeng-xue
added
Accounts
Issues in Az.Accounts except authentication related
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
P0
and removed
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
labels
Jul 7, 2021
This is affecting us too. A short-term workaround seems to be adding at least one tag on the subscription, but this definitely seems like a bug. |
8 tasks
Az 6.2.1 and Az.Accounts 2.5.1 have been released. |
msJinLei
added a commit
to msJinLei/azure-powershell-common
that referenced
this issue
Jul 12, 2021
msJinLei
added a commit
to msJinLei/azure-powershell
that referenced
this issue
Jul 12, 2021
- Fix the issue Azure#15425 - Add related test cases
8 tasks
dingmeng-xue
pushed a commit
to Azure/azure-powershell-common
that referenced
this issue
Jul 13, 2021
msJinLei
added a commit
to msJinLei/azure-powershell
that referenced
this issue
Jul 14, 2021
- Fix the issue Azure#15425 - Add related test cases
isra-fel
pushed a commit
that referenced
this issue
Jul 15, 2021
* Fix access error when subscripiton has no Tags property - Fix the issue #15425 - Add related test cases * Polish test name for new Az.Accounts smoke test case
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Accounts
Issues in Az.Accounts except authentication related
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
P0
Description
Multiple Az cmdlets raise the following error while specifying the DefaultProfile parameter:
Error getting value from 'Tags' on 'Microsoft.Azure.Commands.Profile.Models.PSAzureSubscription'.
Using the same cmdlets with the same account, without specifying DefaultProfile works as expected.
Happens with a user principal/service principal/system-assigned managed identity (I've tried with Azure Functions).
Note that the following is true:
maybe related to the following entry in the changelog:
Az.Accounts
Added Tags, AuthorizationSource to PSAzureSusbscripiton and added TenantType, DefaultDomain, TenantBrandingLogoUrl, CountryCode to PSAzureTenant [#15220]
Steps to reproduce
Environment data
Module versions
Debug output
Error output
The text was updated successfully, but these errors were encountered: