You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Solution:** Use an authentication method that's compatible with MFA.
183
+
184
+
### Cross-tenant warning: Authentication failed against tenant
185
+
186
+
If you have access to multiple tenants, and one of them requires MFA, Azure PowerShell might display
187
+
the following warning:
188
+
189
+
```Output
190
+
WARNING: Unable to acquire token for tenant '00000000-0000-0000-0000-000000000000' with error 'Authentication failed against tenant 00000000-0000-0000-0000-000000000000. User interaction is required. This may be due to the conditional access policy settings such as multi-factor authentication (MFA). If you need to access subscriptions in that tenant, please rerun 'Connect-AzAccount' with additional parameter '-TenantId 00000000-0000-0000-0000-000000000000.'
191
+
```
192
+
193
+
Azure PowerShell attempts to sign in with _the first tenant found_ during login. If that tenant
194
+
enforces MFA, authentication might fail. To avoid this issue, explicitly specify the target tenant
0 commit comments