Updating Exchange Online user object using Graph

Iron Contributor

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.

3 Replies
best response confirmed by Gurdev Singh (Iron Contributor)
No, Graph doesn't support any Exchange admin operations currently. As for doing this via PowerShell, you need the Mail Recipients role assigned.
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.
It's a work in progress,,..