skip to Main Content

Azure – What permissions are needed to read /write external collaboration policies?

I've written a powershell script that allows me to query azure for my azure ad policies like this: Connect-AzureAD $currentpolicy = Get-AzureADPolicy -All $true | ?{$_.Type -eq 'B2BManagementPolicy'} | select -First 1 $currentpolicy $newPolicyValue = @("{`"B2BManagementPolicy`":{`"InvitationsAllowedAndBlockedDomainsPolicy`":{`"AllowedDomains`": [`"a.com`",`"b.org`",`"c.org`",`"d.com`"],`"BlockedDomains`": []}}}") } #update…

VIEW QUESTION

Azure – How to find user principal name not a member of particular group (which contain "AVD" in its name)

From Azure AD, Are there any ways to find users who does not have a speciifc group assigned ( the name contain %AVD% in it) ? This is what I have tried: https://graph.microsoft.com/beta/users?$expand=memberOf https://graph.microsoft.com/v1.0/users/groups?$search="AVD" https://graph.microsoft.com/v1.0/users?$select=memberOf eq '%AVD%' unable to get…

VIEW QUESTION
Back To Top
Search