Forum Discussion
Get-MgProfile : The term 'Get-MgProfile' is not recognized as the name of a cmdlet, function, script
Before, you had both the v1.0 and beta endpoint commandlets in the same module and could switch between them using Select-MgProfile (and check with Get-MgProfile, etc.)
Now, the v1.0 commandlets remain in the modules using the historical module names while the beta endpoint commandlets have been broken out of the previous modules and into their own standalone modules whose names are prefixed with Microsoft.Graph.Beta:
The one exception is Microsoft.Graph.Authentication, which is common to both pathways.
Now that the v1.0 and beta commandlets no longer coexist within the same module namespace, there is no reason to have the various *-MgProfile commandlets.
Whether this is more or less convenient is a matter for debate but this is the new approach.
Cheers,
Lain
Try changing the cmdlet to point to Beta. For example, if you call Get-MgAuditLogSignIn try to change it to Get-MgBetaAuditLogSignIn and it should work (most of the time).