soteria-security / 365Inspect

A PowerShell script that automates the security assessment of Microsoft 365 environments.
https://soteria.io/solutions/soteria-inspect/
MIT License
577 stars 109 forks source link

Connect to specific tenant with MFA #1

Closed mkannan22 closed 2 years ago

mkannan22 commented 3 years ago

Any suggestions connecting to a specific tenant with same username and MFA? I have attempted using the UPN as a login so it wouldn't be the same as the user logon name, but unsuccessful. I am able to grab partial data if I use Connect-AzureAD with Tenant-ID, but the Connect-MSOLService does not allow a specific -TenantID.

ThoughtContagion commented 3 years ago

Any suggestions connecting to a specific tenant with same username and MFA? I have attempted using the UPN as a login so it wouldn't be the same as the user logon name, but unsuccessful. I am able to grab partial data if I use Connect-AzureAD with Tenant-ID, but the Connect-MSOLService does not allow a specific -TenantID.

Thank you. We are working on a solution that will allow for this. I don't yet have a timeline as to when this will available, I need to complete, test, and validate the new inspectors but in the mean time you should be able to simply re-run the tool and specify a new org name.

ThoughtContagion commented 2 years ago

At this time the best method of connecting to multiple tenants is to re-run the tool specifying a new organization name for each tenant.