Skip to content

Instantly share code, notes, and snippets.

@rytmis
Created November 30, 2012 22:00
Show Gist options
  • Save rytmis/4178996 to your computer and use it in GitHub Desktop.
Save rytmis/4178996 to your computer and use it in GitHub Desktop.
Windows Azure AD Authentication: Adding reply addresses to a Service Principal
$addresses = $principal.Addresses
$addresses.Add((New-MsolServicePrincipalAddresses -Address http://localhost:81))
$addresses.Add((New-MsolServicePrincipalAddresses -Address http://my-deployment-endpoint.cloudapp.net))
Set-MsolServicePrincipal -AppPrincipalId 3dc125e6-d518-40d2-9392-87a03dac8f68 -Addresses $addresses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment