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
It appears that this script has broken since Microsoft made changes to the Microsoft.Graph PowerShell authentication mechanism.
Select-MgProfile : The term 'Select-MgProfile' is not recognized as the name of a cmdlet...
Is there an easy fix to this?
Setting profile as beta...
WARNING: Unable to find type [Microsoft.Graph.PowerShell.Authentication.Utilities.DependencyAssemblyResolver].
Select-MgProfile : The term 'Select-MgProfile' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\library\PowerShell\W365_User_Logon_Report.ps1:132 char:5
Latest version of AzureADPreview module is 2.0.2.183
Current installed version of AzureADPreview module is 2.0.2.183
The installed AzureADPreview module is up to date.
Not connected to Azure AD. Connecting...
Connected to Azure AD
Tenant ID is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Get-MgDeviceManagementVirtualEndpointCloudPC : One or more errors occurred.
At C:\library\PowerShell\W365_User_Logon_Report.ps1:200 char:1
It appears that this script has broken since Microsoft made changes to the Microsoft.Graph PowerShell authentication mechanism.
Select-MgProfile : The term 'Select-MgProfile' is not recognized as the name of a cmdlet...
Is there an easy fix to this?
Setting profile as beta...
WARNING: Unable to find type [Microsoft.Graph.PowerShell.Authentication.Utilities.DependencyAssemblyResolver].
Select-MgProfile : The term 'Select-MgProfile' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\library\PowerShell\W365_User_Logon_Report.ps1:132 char:5
Latest version of AzureADPreview module is 2.0.2.183
Current installed version of AzureADPreview module is 2.0.2.183
The installed AzureADPreview module is up to date.
Not connected to Azure AD. Connecting...
Connected to Azure AD
Tenant ID is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Get-MgDeviceManagementVirtualEndpointCloudPC : One or more errors occurred.
At C:\library\PowerShell\W365_User_Logon_Report.ps1:200 char:1
PS C:\library\PowerShell>
The text was updated successfully, but these errors were encountered: