cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shasaxe1
New Member

Unable to connect PowerApps account using Powershell

Hi,

 

Need your help as I am not able to connect powerapps account using powershell.

I am executing below command:

Add-PowerAppsAccount

When executing above command and passing credentials, i am getting below error:

PS C:\WINDOWS\system32> canvasappsharing.ps1
Sharing Canvas PowerApps with Org Users...
Add-PowerAppsAccount : Exception calling "AcquireToken" with "3" argument(s): "Federated service at https://autologon.micros
oftazuread-sso.com/org.com/winauth/trust/2005/usernamemixed?client-request-id=<Guid>
returned error: Authentication Failure"
+ Add-PowerAppsAccount -Username $Username -Password $pass
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-PowerAppsAccount], MethodInvocationException
+ FullyQualifiedErrorId : AdalServiceException,Add-PowerAppsAccount

0 REPLIES 0

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,388)