1

I'm trying to add multiple identifierURIs from Powershell.

Normally I use this command to add single identifierURI:

Set-AzureADApplication -DisplayName "My App" -IdentifierURIs "api://$appId"

What more to include in that command to add multiple identifierURIs from Powershell?

JeethK
  • 23
  • 5
  • Not tested, but I would assume: `... -IdentifierURIs "api://$appId1", "api://$appId2"` – iRon Dec 26 '22 at 10:52
  • 1
    Should work, but since the description of [IdentifierUris](https://learn.microsoft.com/en-us/powershell/module/azuread/set-azureadapplication?view=azureadps-2.0#-identifieruris) is ``]``, you might need to cast to `[string[]]` – Theo Dec 26 '22 at 10:56

0 Answers0