You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Hello. I have a script that calls 'BackupOnlineInstance.ps1'. It was working recently but now an error is being thrown when it attempts to query the CRM instance on line 76 of BackupOnlineInstance.ps1
Xrm-CI-Framework Version:
Latest version, in the case: 9.1.0.3
Nuget Version:
Latest version, in the case: 5.9.0
Arguments:
-ApiUrl https://admin.services.crm6.dynamics.com
-Username [CRM Username]
-Password [Non-secure CRM Password]
-InstanceName [CRM Instance Name]
-BackupLabel "Back up before Release-4"
-BackupNotes "Back up before
Release-4"
-WaitForCompletion True
-PSModulePath "[Path to folder]\Tools\OnlineManagementAPI"
Error:
New-Object : Cannot find an overload for "UserCredential" and the argument count: "2"
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.PowerApps.Administration.PowerShell\2.0.110\Microsoft.PowerApps.AuthModule.psm1:143 char:23
The text was updated successfully, but these errors were encountered:
Description:
Hello. I have a script that calls 'BackupOnlineInstance.ps1'. It was working recently but now an error is being thrown when it attempts to query the CRM instance on line 76 of BackupOnlineInstance.ps1
Xrm-CI-Framework Version:
Latest version, in the case: 9.1.0.3
Nuget Version:
Latest version, in the case: 5.9.0
Arguments:
-ApiUrl https://admin.services.crm6.dynamics.com
-Username [CRM Username]
-Password [Non-secure CRM Password]
-InstanceName [CRM Instance Name]
-BackupLabel "Back up before Release-4"
-BackupNotes "Back up before
Release-4"
-WaitForCompletion True
-PSModulePath "[Path to folder]\Tools\OnlineManagementAPI"
Where Error Is Thrown:
Line 144 of Microsoft.PowerApps.AuthModule.psm1
Error:
New-Object : Cannot find an overload for "UserCredential" and the argument count: "2"
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.PowerApps.Administration.PowerShell\2.0.110\Microsoft.PowerApps.AuthModule.psm1:143 char:23
The text was updated successfully, but these errors were encountered: