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
if ($_.CategoryInfo.Reason-eq'AzPSAuthenticationFailedException') {
if ($Credential) {
Write-Warning-Message "Connect-O365Admin - Tenant most likely requires MFA. Please drop credential parameter, and just let the Connect-O365Admin prompt you for them."
} else {
Write-Warning-Message "Connect-O365Admin - Please provide DomainName or TenantID parameter."
It also works with GraphAPI for most of the calls. However, some calls require SCOPES to be defined. While I know a way to define scopes for standard calls using ClientID/ClientSecret/TenantID which requires me to create an app in Azure AD and then delegate those required scopes I would like to avoid. After all, in most cases, I'm right now using Global Admin doing the work and there must be a way to use the current login/pass but just add scopes I need for msgraph.
The text was updated successfully, but these errors were encountered:
This module in most cases uses unsupported API which works thru the ways I've created in
Connect-O365Admin
O365Essentials/Public/Connect-O365Admin.ps1
Lines 1 to 158 in 7359381
It also works with GraphAPI for most of the calls. However, some calls require SCOPES to be defined. While I know a way to define scopes for standard calls using ClientID/ClientSecret/TenantID which requires me to create an app in Azure AD and then delegate those required scopes I would like to avoid. After all, in most cases, I'm right now using Global Admin doing the work and there must be a way to use the current login/pass but just add scopes I need for msgraph.
The text was updated successfully, but these errors were encountered: