Hi @RobNow,
This issue may be caused by you not installing or updating the 'Microsoft.Graph.Authentication' module. This module contains Select-MgProfile
and other commands related to connecting to the Microsoft Graph PowerShell SDK.
To resolve this issue, you can try the following steps:
- Open PowerShell and run the
Install-Module Microsoft.Graph.Authentication
command to install or update the 'Microsoft.Graph.Authentication' module. - Restart PowerShell and run the
Import-Module Microsoft.Graph.Authentication
command to import the module.
Get this module:
Configure the employeeLeaveDateTime property for a user:
Hope this helps. If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.