Skip to content

Conversation

@fengzhou-msft
Copy link
Member

@fengzhou-msft fengzhou-msft commented Feb 14, 2023

Resolve #31693

It looks like multiple services may return empty string for principalId and tenantId when type is None. It's not likely that we can ask all of them to change the service behavior. This PR makes the fix on client side.

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@fengzhou-msft fengzhou-msft changed the title fix MSI deserialization Fix MSI deserialization for empty Guid values Feb 14, 2023
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@fengzhou-msft fengzhou-msft merged commit c5fd749 into Azure:main Feb 14, 2023
glharper added a commit that referenced this pull request Feb 15, 2023
Co-authored-by: Jesse Squire <[email protected]>
Co-authored-by: archerzz <[email protected]>
Co-authored-by: Reiley Yang <[email protected]>
Co-authored-by: Jesse Squire <[email protected]>
Co-authored-by: HarmanDhunna <[email protected]>
Co-authored-by: HarmanDhunna <[email protected]>
Co-authored-by: Richard Park <[email protected]>
Co-authored-by: Mike Harder <[email protected]>
Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: Arcturus Zhang <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>
Co-authored-by: Yao Kou <[email protected]>
Co-authored-by: ArcturusZhang <[email protected]>
Co-authored-by: Vishwesh Bankwar <[email protected]>
Co-authored-by: JoshLove-msft <[email protected]>
Co-authored-by: Scott Addie <[email protected]>
Co-authored-by: Madalyn Redding <[email protected]>
Co-authored-by: Anne Thompson <[email protected]>
Co-authored-by: Jose Arriaga Maldonado <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: Scott Schaab <[email protected]>
Co-authored-by: Heath Stewart <[email protected]>
Co-authored-by: ShivangiReja <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>
Co-authored-by: Timothy Mothra <[email protected]>
Co-authored-by: ShaneMicro <[email protected]>
Co-authored-by: Feng Zhou <[email protected]>
Co-authored-by: nisha-bhatia <[email protected]>
Co-authored-by: Nathan Carlson <[email protected]>
Co-authored-by: wangrui-msft <[email protected]>
Co-authored-by: Theodore Chang <[email protected]>
Co-authored-by: Arthur Ma <[email protected]>
Co-authored-by: isolenov <[email protected]>
Co-authored-by: m-nash <[email protected]>
Co-authored-by: Konrad Jamrozik <[email protected]>
Co-authored-by: Caio Saldanha <[email protected]>
Co-authored-by: Chengming <[email protected]>
Co-authored-by: Minghao Chen <[email protected]>
Co-authored-by: Alexey Rodionov <[email protected]>
Co-authored-by: Travis Wilson <[email protected]>
Fix typo in Identity changelog (#34022)
fix logic workflow update method (#33944)
fixes #33975 by reformatting snippets in sdk/core.
fix datetimeoffset format string (#34031)
Fix creat recognize request of call automation media (#34036)
Fix how arrays stored in Activity Tags are serialized. (#34086)
fix more nullables (#34092)
resolver, logic, storage (#34140)
fix MSI deserialization (#34136)
resolver releases (#34144)
@ArthurMa1978 ArthurMa1978 added the Mgmt This issue is related to a management package. label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Empy principalId and/or tenandId in identity section of GenericResource causes null error exception

5 participants