thub.users.profile.tabs.comments.personalized


I can connect fine with below command, but this is only for my own tenant using
Connect-AzAccount -ServicePrincipal -ApplicationId $ApplicationId -Tenant $TenantID -CertificateThumbprint $ThumbprintID

How can I connect to customer's tenant as well using the same method

Hello

I am not getting the answer yet

Hi

I want to loop Connect-AzAccount cmdlet to a multiple tenant without prompting for password and MFA.

When connecting to my own tenant, I can connect using below command.

 Connect-AzAccount  -ServicePrincipal -ApplicationId $ApplicationId -Tenant $TenantID -CertificateThumbprint $ThumbprintID

It is not working when trying to connect to different tenant. Please advise