Example 1: Code snippet Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalCreatedObject -ServicePrincipalId $servicePrincipalId This example shows how to use the Get-MgServicePrincipalCreatedObject Cmdlet.