Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Connecting to partner portal results in "Connect-PartnerCenter : AADSTS90013: Invalid input received from the user." #395

Open
Marcel-Balk opened this issue May 13, 2022 · 1 comment

Comments

@Marcel-Balk
Copy link

Steps to reproduce

$appId = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
$SecretKEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
$secret = ConvertTo-SecureString $SecretKEY -AsPlainText -Force
$refreshToken = ''

$credential = New-Object System.Management.Automation.PSCredential($appId, $secret)

#Connect-PartnerCenter -ApplicationId $appId -Credential $credential -RefreshToken $refreshToken
$Customers=get-partnercustomer

Expected behavior

Correct connection to Partner portal

Actual behavior

Connect-PartnerCenter : AADSTS90013: Invalid input received from the user.
Trace ID: 3e01a8ea-34b6-4865-9d86-2a97fbd41e00
Correlation ID: 5d31376e-7a21-45b7-a894-fef31c02bc3a
Timestamp: 2022-05-13 08:19:34Z
At C:\Users\XXXXX\Desktop\PARTNER-PORTAL2.ps1:7 char:1

  • Connect-PartnerCenter -ApplicationId $appId -Credential $credential - ...
  •   + CategoryInfo          : CloseError: (:) [Connect-PartnerCenter], MsalServiceException
      + FullyQualifiedErrorId : Microsoft.Store.PartnerCenter.PowerShell.Commands.ConnectPartnerCenter
    
    

Diagnostic logs

no logs available.

Environment

Powershell: 5.1.22000.653
Windows: Windows 11, 21H2, 22000..675
.NET Framework 4.8.04161

@Marcel-Balk
Copy link
Author

Can we get a response on this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant