Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Federation with IdentityServer3. Getting error: Invalid URI: The hostname could not be parsed. RequestUri=default.aspx user_lcid=3082

$
0
0

Hi,

I have federation a Dynamics 365 Online with an IdentityServer3 with the following configurations.

On the Dynamics side:

$dom = "xxx.org”
$brandname = "xxx"
$issuerUri = "https://xxx"
$passiveLogonUri = "xxx/core/wsfed"
$activeLogonUri= "xxx/core/login"
$meta = "xxx/core/wsfed/metadata"
$cert = "MIxxxx"

Set-MsolDomainAuthentication -DomainName $dom -FederationBrandName $brandname -Authentication Federated -ActiveLogOnUri $activeLogonUri -IssuerUri $issuerUri -PassiveLogOnUri $passiveLogonUri -MetadataExchangeUri $meta -LogOffUri $passiveLogonUri -SigningCertificate $cert -PreferredAuthenticationProtocol WsFed

On the IdentityServer side:

Realm = "urn:federation:MicrosoftOnline",

Name = "CRM Dynamics Dev",
Enabled = true,
ReplyUrl ="https://xxx.dynamics.com",

TokenType = "urn:oasis:names:tc:SAML:2.0:assertion",

But everytime I tried, I just get the following error on the browser:

"Intente esta acción de nuevo. Si el problema persiste, consulte la Comunidad Microsoft Dynamics 365 para obtener soluciones o póngase en contacto con el administrador de Microsoft Dynamics 365 de su organización. En última instancia, puede ponerse en contacto con el Soporte técnico de Microsoft."

And on the URL: https://xxx.dynamics.com/_common/error/errorhandler.aspx?BackUri=https%3a%2f%2fxxx%2fcore%2fwsfed%3fclient-request-id%3d3467526b-74b4-4a1d-a359-1b3722f0b382 

(...) &ErrorCode=&Parm0=%0d%0a%0d%0aDetalles%20del%20error%3a%20Invalid%20URI%3a%20The%20hostname%20could%20not%20be%20parsed.&RequestUri=%2fdefault.aspx&user_lcid=3082

Could anyone please provide any hint on how to procede? Many thanks in advance.

Regards.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>