Open Marcel-Balk opened 2 years ago
$appId = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' $SecretKEY = "XXXXX~XXXXXXXXXXXXXXXXXXXXXXX~XXXXXXX" $secret = ConvertTo-SecureString $SecretKEY -AsPlainText -Force $refreshToken = ''
$credential = New-Object System.Management.Automation.PSCredential($appId, $secret)
$Customers=get-partnercustomer
Correct connection to Partner portal
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
+ CategoryInfo : CloseError: (:) [Connect-PartnerCenter], MsalServiceException + FullyQualifiedErrorId : Microsoft.Store.PartnerCenter.PowerShell.Commands.ConnectPartnerCenter
no logs available.
Powershell: 5.1.22000.653 Windows: Windows 11, 21H2, 22000..675 .NET Framework 4.8.04161
Can we get a response on this ?
Steps to reproduce
$appId = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' $SecretKEY = "XXXXX~XXXXXXXXXXXXXXXXXXXXXXX~XXXXXXX" $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
Diagnostic logs
no logs available.
Environment
Powershell: 5.1.22000.653 Windows: Windows 11, 21H2, 22000..675 .NET Framework 4.8.04161