---
title: "Isaac Oni (@Isaaconi) | Hashnode"
description: "Isaac Oni (@Isaaconi) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Isaaconi"
---

@Isaaconi

# Isaac Oni

@Isaaconi · Joined January 2023

## Comments

[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](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d/comment/63c7ebe716cfbf7c0f2b3fd3#reply-63c7fb44afd2f07b226305bd)

Reply · Article · Jan 18, 2023 · [Get overall status of your clients in AD, AAD, Intune and SCCM services](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d)

[I realised my mistake and was able to dot source successfully. Now when I try to query client data, I get error below New-GraphAPIAuthHeader command isn't available At C:\\Users\\isaaco\\Documents\\Get-MDMClientData.ps1:67 char:13 throw "New-GraphAPIAuthHeader command isn't available" ~~~~~~~~~~~~~~ CategoryInfo : OperationStopped: (New-GraphAPIAut...isn't available:String) \[\], RuntimeException FullyQualifiedErrorId : New-GraphAPIAuthHeader command isn't available Ondrej Sebela](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d/comment/63c7ebe716cfbf7c0f2b3fd3#reply-63c7f61716cfbf7c0f2b4183)

Reply · Article · Jan 18, 2023 · [Get overall status of your clients in AD, AAD, Intune and SCCM services](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d)

[Thank you for the swift reply. I did replace the tenant name and server name. Do I have to name them with the $ in front of the name or not? Ondrej Sebela](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d/comment/63c7ebe716cfbf7c0f2b3fd3#reply-63c7f35f16cfbf7c0f2b40bc)

Reply · Article · Jan 18, 2023 · [Get overall status of your clients in AD, AAD, Intune and SCCM services](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d)

[At C:\\Users\\isaaco\\Documents\\Get-MDMClientData.ps1:122 char:39 \[ValidateNotNullOrEmpty()\] ~ Parameter declarations are a comma-separated list of variable names with optional initializer expressions. At C:\\Users\\isaaco\\Documents\\Get-MDMClientData.ps1:122 char:39 \[ValidateNotNullOrEmpty()\] ~ Missing ')' in function parameter list. At C:\\Users\\isaaco\\Documents\\Get-MDMClientData.ps1:330 char:39 \[ValidateNotNullOrEmpty()\] ~ Parameter declarations are a comma-separated list of variable names with optional initializer expressions. At C:\\Users\\isaaco\\Documents\\Get-MDMClientData.ps1:330 char:39 \[ValidateNotNullOrEmpty()\] ~ Missing ')' in function parameter list. CategoryInfo : ParserError: (:) \[\], ParseException FullyQualifiedErrorId : InvalidFunctionParameter I get the above errors when I tried to dot source the script. Can you help please](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d/comment/63c7ebe716cfbf7c0f2b3fd3)

Comment · Article · Jan 18, 2023 · [Get overall status of your clients in AD, AAD, Intune and SCCM services](https://hashnode.com/posts/get-overall-status-of-your-clients-in-ad-aad-intune-and-sccm-services/6166e4da18374f2573277a3d)
