cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shogo_bb
Level: Power Up

Add-PowerAppsAccount fails because FormatException

When invoke Add-PowerAppsAccount cmdlet in PowerShell, it causes an error if IdToken contains '.' charactors.

+ $claims = Get-JwtTokenClaims -JwtToken $authResult.IdToken
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( [Get-JwtTokenClaims], MethodInvocationException
+ FullyQualifiedErrorId : FormatException,Get-JwtTokenClaims

 

Do you have any solutions?
2 REPLIES 2
Community Support Team
Community Support Team

Re: Add-PowerAppsAccount fails because FormatException

Hi @shogo_bb 

 

Could you please reference this:

https://powerusers.microsoft.com/t5/Administering-PowerApps/Add-PowerAppsAccount-sometimes-fails-bec...

 

Hope this could be helpful.

 

Best Regards.

Yumia

Highlighted
shogo_bb
Level: Power Up

Re: Add-PowerAppsAccount fails because FormatException

@v-yuxima-msft 

Thank you for your answer!
However, I can not do it because there is no written way to convert '.'.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (3,533)