TheJumpCloud / support

Public scripts and examples for managing JumpCloud managed systems and service endpoints
264 stars 149 forks source link

entityID parsing and validation #575

Closed jworkmanjc closed 1 month ago

jworkmanjc commented 1 month ago

Issues

What does this solve?

Customers configuring the SSO with our EntraID connector should be encouraged to enter their EntityID within the console as either https://someDomain.com or urn:uri:someDomain.com. The New-MgDomainFederationConfiguration will always throw an error that the issuerUri (EntityID) domain is incorrect without either prepending the domain with https:// or urn:uri:

Screenshot 2024-05-10 at 1 07 33 PM

The PowerShell Module will be updated along with documentation to state this requirement. If an EntityID value does not contain this prefix, the PowerShell Module will now throw an error:

Screenshot 2024-05-13 at 8 22 24 AM

The domain names should be extracted and passed into New-MgDomainFederationConfiguration to correctly identify the domain to be modified.

Is there anything particularly tricky?

How should this be tested?

Screenshots