cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

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

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

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

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

Users Online
Currently online: 192 members 5,020 guests
Please welcome our newest community members: