Skip to content

Commit 3e9c943

Browse files
authored
Merge pull request #4530 from jackpoz/fixes/HealthPostType
Update post types used by Get-PnPServiceHealthIssue
2 parents c72dc58 + 587ed93 commit 3e9c943

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
6565
- Fixed `Get-PnPAzureADAppSitePermission`, `Grant-PnPAzureADAppSitePermission` and `Revoke-PnPAzureADAppSitePermission` cmdlets throwing an error when the site URL is not specified and the app registration used only having Graph permissions [#4421](https://github.com/pnp/powershell/pull/4421)
6666
- Fixed `Get-PnPTerm` cmdlet not working correctly when `-ParentTerm` parameter is specified. [#4454](https://github.com/pnp/powershell/pull/4454)
6767
- Fixed the PnP PowerShell version check to only check nightly version in nightly builds and major version in release builds. [#4453](https://github.com/pnp/powershell/pull/4453)
68+
- Fixed `Get-PnPServiceHealthIssue` returning an error when certain service states were active [#4530](https://github.com/pnp/powershell/pull/4530)
6869

6970
### Removed
7071

src/Commands/Model/ServiceHealth/Enums/ServiceHealthIssuePostType.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ public enum ServiceHealthIssuePostType
99
/// Quick update
1010
/// </summary>
1111
Quick,
12-
1312
/// <summary>
1413
/// Regular update
1514
/// </summary>
16-
Regular
15+
Regular,
16+
/// <summary>
17+
/// Strategic update
18+
/// </summary>
19+
Strategic,
20+
/// <summary>
21+
/// Unknown post type
22+
/// </summary>
23+
UnknownFutureValue
1724
}
1825
}

0 commit comments

Comments
 (0)