Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
This repository was 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

@jcl2rk

Description

@jcl2rk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions