I have written the SPE powershell script in my local Sitecore 9.1.1 sandbox environment and trying to execute, it is asking session elevate privilege to enter credentials. Even though I am entering admin credentials I am getting "Could not validate access using the provided credentials" error.

  1. I have verified Cognifide.PowerShell.config is present.
  2. I have enabled the Cognifide.PowerShell.IdentityServer.config since I am using Identity server
  3. SPE version 5.1 which is compatible with Sitecore 9.1.1

enter image description here

  • Where are you hosting it? – Michael West Jun 26 at 15:00
  • Did you implement a custom provider or using Azure AD? – Michael West Jun 26 at 15:37
  • It is in my local sandbox which is installed in my laptop. I am using default "admin" login – Prabhu Ranganathan Jun 29 at 3:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.