#Add SAML EndPoints for OMREN SPs #mirsal.omren.om $EP0 = New-AdfsSamlEndpoint -Binding "POST" -Index 0 -Protocol "SAMLAssertionConsumer" -Uri "https://mirsal.omren.om/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp" $EP2 = New-AdfsSamlEndpoint -Binding "Artifact" -Index 2 -Protocol "SAMLAssertionConsumer" -Uri "https://mirsal.omren.om/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp" $EP = New-AdfsSamlEndpoint -Binding "POST" -Protocol "SAMLLogout" -Uri "https://adfs.omren.om/adfs/ls/?wa=wsignout1.0" Set-AdfsRelyingPartyTrust -TargetName "omrenfed:mirsal.omren.om" -SamlEndpoint $EP0,$EP2,$EP #sp.omren.om $EP0 = New-AdfsSamlEndpoint -Binding "POST" -Index 0 -Protocol "SAMLAssertionConsumer" -Uri "https://sp.omren.om/simplesaml/module.php/saml/sp/saml2-acs.php/OMREN-Federation" $EP2 = New-AdfsSamlEndpoint -Binding "Artifact" -Index 2 -Protocol "SAMLAssertionConsumer" -Uri "https://sp.omren.om/simplesaml/module.php/saml/sp/saml2-acs.php/OMREN-Federation" $EP = New-AdfsSamlEndpoint -Binding "POST" -Protocol "SAMLLogout" -Uri "https://adfs.omren.om /adfs/ls/?wa=wsignout1.0" Set-AdfsRelyingPartyTrust -TargetName "omrenfed:sp.omren.om" -SamlEndpoint $EP0,$EP2,$EP