So I am following this manua https://docs.microsoft.com/en-us/microsoft-identity-manager/pam/step-7-elevate-user-access
Import-module MIMPAM $r = Get-PAMRoleForRequest | ? { $_.DisplayName –eq "CorpAdmins" } New-PAMRequest –role $r klist purge
The powershell above gives me this kind of error:
Get-PAMRoleForRequest : The caller was not authenticated by the service. At line:1 char:6+ $r = Get-PAMRoleForRequest | ? { $_.DisplayName -eq "CorpAdmins" }+ ~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Get-PAMRoleForRequest], Secur ityNegotiationException+ FullyQualifiedErrorId : GeneralServerError,Microsoft.IdentityManagement. RequestorPamCmdlets.Commands.GetPamRolesCommandSo how the caller should authenticate or whats the problem?