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
Highlighted
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

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 513 members 4,645 guests
Please welcome our newest community members: