Forum Discussion

Gurdev Singh's avatar
Gurdev Singh
Iron Contributor
Aug 17, 2021

Updating Exchange Online user object using Graph

Is there a way to update the Exchange Online user object using Graph? In particular, we have a need to change property RemotePowerShellEnabled. I am not able to find any methods within Graph SDK.

 

If using Connect-ExchangeOnline with application credentials, any idea around what permissions need to be assigned.

  • No, Graph doesn't support any Exchange admin operations currently. As for doing this via PowerShell, you need the Mail Recipients role assigned.
  • No, Graph doesn't support any Exchange admin operations currently. As for doing this via PowerShell, you need the Mail Recipients role assigned.
    • Gurdev Singh's avatar
      Gurdev Singh
      Iron Contributor
      Thanks Vasil...Do you know if Exchange roles can be assigned to Azure AD app principal. Within AAD, I can assign Exchange Recipients Administrator to app principal but within Exchange, roles are only showing users and app principals are not visible.

Resources