Is it possible to assign roles using Exchange Web Services in C #?

Is it possible to assign roles using Exchange Web Services in C #? How do you programmatically automate adding an ApplicationImpersonation role and assign a role to users in Office 365 Exchange?

+4
source share
1 answer

Role assignment using Exchange Web Services is not possible. If you want to do this with a C # application, try running PowerShell cmdlets in C #. Find the RoleGroup cmdlets.

In this thread, you will find some examples of how to execute PowerShell in C #: Powershell command through C # code

+1
source

Source: https://habr.com/ru/post/1489651/


All Articles