Thank you, I now get the error below PS C:\Users\isaaco> Get-MDMClientData -computer nj-60-ntb -graphCredential $Cred | Format-List * Credentials for creating Graph API authentication header is missing At C:\Users\isaaco\Documents\Get-MDMClientData.ps1:98 char:29 ... edential) { throw "Credentials for creating Graph API authentication ... ~~~~~~~~~~~~~ CategoryInfo : OperationStopped: (Credentials for...ader is missing:String) [], RuntimeException FullyQualifiedErrorId : Credentials for creating Graph API authentication header is missing Ondrej Sebela