July 2017
Beginner
222 pages
5h 2m
English
Role assignments allow you to assign roles to a user/security group with the option to override the write scope set at the role level. Role assignments can target role groups, users, policies, or security groups.
We will finish the text messaging example by giving permissions to the service account so that the EWS call can impersonate the user.
We initially try to call the EWS command that creates a new inbox rule; because the rule uses text messaging and impersonation has not been set up, the call with fail:
# trying to impersonate through EWS fails before role assignment$exchWS.UpdateInboxRules($operations, $false)Exception calling "UpdateInboxRules" with "2" argument(s): "The account does not have permission ...
Read now
Unlock full access