Is the parameter "-AvailableToOtherTenants $true" really correct for the Service Principal? I don't see a reason why it should be available to other tenants.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@diecknet Thank you for bringing this to our attention. We are investigating and will update you when we have additional information.
From my understanding, this parameter "-AvailableToOtherTenants $true" is for creating multitenant service principal.
@ChristianMontoya Can you please confirm, I will update the document if needed. Thanks :)
@diecknet : Unfortunately, this is still needed. We are updating our service and PowerShell modules to not rely on the global scope for Azure AD, and will update this document when this is no longer required.
Thanks @ChristianMontoya
@diecknet We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.
This should be updated to -AvailableToOtherTenants $false, IMO. This setting makes it impossible to use a service principal for the azure subscription delegation required by the arm template automation for scaling hosts.