We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Which Version of MSAL are you using ? 4.21
Details in this PowerShell issue: Azure/azure-powershell#13467
Start with PWSH, then use Az CLI, the go back to PWSH. For example:
connect-azaccount
get-azsubscription
az group list
Actual: serialization exception from MSAL.NET
I have snapshots of the cache after step2, step3 and step4 and can provide them on request (will send them via email to you @rayluo ).
At step 3, the refresh token section looks like this:
"RefreshToken": { "6eeda3a1-c3b9-4e92-a94d-965a50c06de7.72f988bf-86f1-41af-91ab-2d7cd011db47-login.windows.net-refreshtoken-1--": { "home_account_id": "6eeda3a1-c3b9-4e92-a94d-965a50c06de7.72f988bf-86f1-41af-91ab-2d7cd011db47", "environment": "login.windows.net", "client_info": "eyJ1aWQiOiI2ZWVkYTNhMS1jM2I5LTRlOTItYTk0ZC05NjVhNTBjMDZkZTciLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3In0", "client_id": "1950a258-227b-4e31-a9cf-717495945fc2", "secret": "secret", "credential_type": "RefreshToken", "family_id": "1" } },
At step4, it looks like this:
"RefreshToken": { "6eeda3a1-c3b9-4e92-a94d-965a50c06de7.72f988bf-86f1-41af-91ab-2d7cd011db47-login.windows.net-refreshtoken-1--": { "home_account_id": "6eeda3a1-c3b9-4e92-a94d-965a50c06de7.72f988bf-86f1-41af-91ab-2d7cd011db47", "environment": "login.windows.net", "client_info": "eyJ1aWQiOiI2ZWVkYTNhMS1jM2I5LTRlOTItYTk0ZC05NjVhNTBjMDZkZTciLCJ1dGlkIjoiNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3In0", "client_id": "1950a258-227b-4e31-a9cf-717495945fc2", "secret": "secret", "credential_type": "RefreshToken", "family_id": "1" }, "6eeda3a1-c3b9-4e92-a94d-965a50c06de7.72f988bf-86f1-41af-91ab-2d7cd011db47-login.windows.net-refreshtoken-1950a258-227b-4e31-a9cf-717495945fc2--": { "secret": "secret" } },
The second entry here in step 4 is invalid.
CC: @erich-wang
The text was updated successfully, but these errors were encountered:
@rayluo
Sorry, something went wrong.
I made some progress on this. I am updating the bug repro steps.
I consider an incompatibility bug like this P1. Thanks for investigating @bgavrilMS. @rayluo @navyasric this should be prioritized imo.
rayluo
Successfully merging a pull request may close this issue.
Which Version of MSAL are you using ?
4.21
Details in this PowerShell issue:
Azure/azure-powershell#13467
Repro
Start with PWSH, then use Az CLI, the go back to PWSH. For example:
connect-azaccount
(this is a PWSH command, so MSAL.NET)get-azsubscription
(again PWSH command, so MSAL.NET)az group list
(az cli command, so MSAL.PY)Actual: serialization exception from MSAL.NET
Investigation
I have snapshots of the cache after step2, step3 and step4 and can provide them on request (will send them via email to you @rayluo ).
At step 3, the refresh token section looks like this:
At step4, it looks like this:
The second entry here in step 4 is invalid.
CC: @erich-wang
The text was updated successfully, but these errors were encountered: