Skip to content

Commit

Permalink
Merge pull request #5320 from NikCharlebois/AADServicePrincipal---Add…
Browse files Browse the repository at this point in the history
…ed-Notes

AADServicePrincipal - Added Notes property
NikCharlebois authored Nov 1, 2024
2 parents 5b5cc1c + 1461576 commit 385bf49
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -57,6 +57,8 @@
* Initial release.
* AADRoleManagementPolicyRule
* Initial release.
* AADServicePrincipal
* Added the notes field.
* AADSocialIdentityProvider
* Fixed missing permissions in settings.json
* AADVerifiedIdAuthority
Original file line number Diff line number Diff line change
@@ -52,6 +52,10 @@ function Get-TargetResource
[System.String]
$LogoutUrl,

[Parameter()]
[System.String]
$Notes,

[Parameter()]
[System.String[]]
$Owners,
@@ -311,6 +315,7 @@ function Get-TargetResource
ErrorUrl = $AADServicePrincipal.ErrorUrl
Homepage = $AADServicePrincipal.Homepage
LogoutUrl = $AADServicePrincipal.LogoutUrl
Notes = $AADServicePrincipal.Notes
Owners = $ownersValues
PublisherName = $AADServicePrincipal.PublisherName
ReplyURLs = $AADServicePrincipal.ReplyURLs
@@ -399,6 +404,10 @@ function Set-TargetResource
[System.String]
$LogoutUrl,

[Parameter()]
[System.String]
$Notes,

[Parameter()]
[System.String[]]
$Owners,
@@ -768,6 +777,10 @@ function Test-TargetResource
[System.String]
$LogoutUrl,

[Parameter()]
[System.String]
$Notes,

[Parameter()]
[System.String[]]
$Owners,
Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@ class MSFT_AADServicePrincipal : OMI_BaseResource
[Write, Description("Specifies the error URL of the ServicePrincipal.")] String ErrorUrl;
[Write, Description("Specifies the homepage of the ServicePrincipal.")] String Homepage;
[Write, Description("Specifies the LogoutURL of the ServicePrincipal.")] String LogoutUrl;
[Write, Description("Notes associated with the ServicePrincipal.")] String Notes;
[Write, Description("Specifies the PublisherName of the ServicePrincipal.")] String PublisherName;
[Write, Description("List of the owners of the service principal.")] String Owners[];
[Write, Description("The URLs that user tokens are sent to for sign in with the associated application, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to for the associated application.")] String ReplyUrls[];

0 comments on commit 385bf49

Please sign in to comment.