This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Function Convert-AzureAdObjectIdToSid { | |
| <# | |
| .SYNOPSIS | |
| Convert an Azure AD Object ID to SID | |
| .DESCRIPTION | |
| Converts an Azure AD Object ID to a SID. | |
| The script is provided "AS IS" with no warranties. | |
| .PARAMETER ObjectID |