-
Notifications
You must be signed in to change notification settings - Fork 388
Description
issue: When running Get-PnPServiceHealthIssue, without any parameters, the documentation notes it should return all Health Issues. Instead, the following error is shown:
VERBOSE: Acquiring oAuth token for permission scope ServiceHealth.Read.All
VERBOSE: Access token acquired
Get-PnPServiceHealthIssue: Object reference not set to an instance of an object.
If I run the CMDLET on a specific Identity, it works without issue:
Get-PnPServiceHealthIssue -Identity IT925560 -Verbose
VERBOSE: Acquiring oAuth token for permission scope ServiceHealth.Read.All
VERBOSE: Access token acquired
StartDateTime : 11/4/2024 8:00:00 PM
EndDateTime :
LastModifiedDateTime : 11/7/2024 5:01:23 PM
Title : Users can’t access Intune blogs news and the customer success blog from https://intune.microsoft.com
Id : IT925560
Steps to reproduce behavior
Get-PnPServiceHealthIssue
Get-PnPServiceHealthIssue -Identity IT925560
What is the version of the Cmdlet module you are running?
2.4.0
Which operating system/environment are you running PnP PowerShell on?
- Windows