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
Back To Top
Search