Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

"The account does not have permission to impersonate the requested user." #78

Open
jcl2rk opened this issue Aug 11, 2020 · 0 comments
Open

Comments

@jcl2rk
Copy link

jcl2rk commented Aug 11, 2020

i am running this command as a global admin with application impersonation enabled and MFA on Modren Auth. this is what i get...

Exception calling "Bind" with "2" argument(s): "The account does not have permission to impersonate the requested
user."
At C:\Github\O365-InvestigationTooling\Get-AllTenantRulesAndForms.ps1:182 char:5

  • $rfRootFolder = [Microsoft.Exchange.WebServices.Data.Folder]::Bin ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : ServiceResponseException

Exception calling "FindItems" with "3" argument(s): "The account does not have permission to impersonate the requested
user."
At C:\Github\O365-InvestigationTooling\Get-AllTenantRulesAndForms.ps1:185 char:5

  • $FindResults = $exchService.FindItems([Microsoft.Exchange.WebServ ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : ServiceResponseException
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