Skip to content

Commit

Permalink
AADServicePrincipal - Added Notes property
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Nov 1, 2024
1 parent ad45b99 commit 1461576
Show file tree
Hide file tree
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
Expand Up @@ -57,6 +57,8 @@
* Initial release.
* AADRoleManagementPolicyRule
* Initial release.
* AADServicePrincipal
* Added the notes field.
* AADSocialIdentityProvider
* Fixed missing permissions in settings.json
* AADVerifiedIdAuthority
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ function Get-TargetResource
[System.String]
$LogoutUrl,

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

[Parameter()]
[System.String[]]
$Owners,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -399,6 +404,10 @@ function Set-TargetResource
[System.String]
$LogoutUrl,

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

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

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

[Parameter()]
[System.String[]]
$Owners,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit 1461576

Please sign in to comment.