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

Why is DefaultAzureCredential trying to use ManagedIdentityCredential on a local machine?

I am trying to use DefaultAzureCredential to connect to a key vault hosted in Azure using the code below: using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Configuration; // Azure.Extensions.AspNetCore.Configuration.Secrets 1.2.2 using Azure.Identity; // Azure.Identity 1.6.0 public static IHostBuilder CreateHostBuilder(string[] args)…

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