How to specify my AAD tenant?
mrichman opened this issue · comments
Mark Richman commented
I have multiple AAD directories (tenants). How do I specify which one I want to run these scripts against? I get the error Service principal was not found - Please check the Client (Application) ID
.
Gerardo Saca commented
Use the -Tenant
parameter.
.\Set-AADSigningKey.ps1 -Tenant contoso.com -ApplicationId <ApplicationId> -KeyThumbprint <Thumbprint>
Mark Richman commented
Thanks. Where is that documented?
Gerardo Saca commented
Given the more ad-hoc / tools-like nature of these scripts, it isn't documented.