Skip to content

Commit

Permalink
Merge pull request #1148 from jensotto/fix-missing-authentication-realm
Browse files Browse the repository at this point in the history
SPTrustedSecurityTokenIssuer: Fixed RegisteredIssuerNameRealm not applied
  • Loading branch information
ykuijs authored Jan 24, 2020
2 parents 5cca8dd + b618e7c commit 0e32879
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated PULL_REQUEST_TEMPLATE.md to match DSC standard
- SPFarm
- Added possibility to set application credential key.
- SPTrustedSecurityTokenIssuer
- Fixed RegisteredIssuerNameRealm not applied if specified.

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@ function Set-TargetResource
Write-Verbose -Message "RegisteredIssuerNameRealm is not specified, use Get-SPAuthenticationRealm instead."
$registeredIssuerNameRealm = Get-SPAuthenticationRealm
}
else
{
$registeredIssuerNameRealm = $params.RegisteredIssuerNameRealm
}

$registeredIssuerName = "$($params.RegisteredIssuerNameIdentifier)@$registeredIssuerNameRealm"

$runParams.Add("RegisteredIssuerName", $registeredIssuerName)
Expand Down

0 comments on commit 0e32879

Please sign in to comment.