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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 305 members 3,485 guests
Please welcome our newest community members: