Microsoft Exchange Online
A Microsoft email and calendaring hosted service.
1,840 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All
i am using hybrid environment. My customattributes are synced from onprem Active Directory to Azure Active Directory. I am getting error in line2 at "extensionattribute01 -eq 'mbx.a1'" . if i use some other attribute like country, department i am not getting any error. please guide me with syntax.
Create a new Service Principal using below command
New-ServicePrincipal -AppId "1111111111" -ObjectId "6666666666666666666" -DisplayName MyTest1
Create a new management scope to use an existing one
New-ManagementScope -Name "CRS1" -RecipientRestrictionFilter "extensionattribute01 -eq 'mbx.a1'"
Create a new managemtrole for app using above management scope.
New-ManagementRoleAssignment -App "1111111111" -Role " Application EWS.AccessAsApp" -CustomResourceScope "CRS1"