ADFS 4.0, Event ID - 364, Error : IdPInitiatedSignonPageDisabledException

Query King | Tue, 06 Feb 2018 at 04:49 hours | Replies : 1 | Points : 100

Category : ADFS


Hi Friends,

I am getting below error after configuration of New ADFS 4.0 Server. Please help.

Exception details:

Microsoft.IdentityServer.Web.IdPInitiatedSignonPageDisabledException: MSIS7012: An error occurred while processing the request. Contact your administrator for details.

 

------------- Exact Log-------------------

Log Name:     AD FS/Admin

Source:       AD FS

Date:         2/2/2018 10:48:08 PM

Event ID:     364

Task Category: None

Level:         Error

Keywords:     AD FS

User:         ABC\ADFSSVC

Computer:     ADFS_SERV.ABC.COM

Description:

Encountered error during federation passive request.

 Additional Data

 Protocol Name: 

Relying Party:

 

Exception details:

Microsoft.IdentityServer.Web.IdPInitiatedSignonPageDisabledException: MSIS7012: An error occurred while processing the request. Contact your administrator for details.

   at Microsoft.IdentityServer.Web.Protocols.Saml.IdpInitiatedSignOnRequestSerializer.ReadMessage(WrappedHttpListenerRequest httpRequest)

   at Microsoft.IdentityServer.Web.Protocols.Saml.HttpSamlMessageFactory.CreateMessage(WrappedHttpListenerRequest httpRequest)

   at Microsoft.IdentityServer.Web.Protocols.Saml.SamlContextFactory.CreateProtocolContextFromRequest(WrappedHttpListenerRequest request, ProtocolContext& protocolContext)

   at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.CreateProtocolContext(WrappedHttpListenerRequest request)

   at Microsoft.IdentityServer.Web.PassiveProtocolListener.GetProtocolHandler(WrappedHttpListenerRequest request, ProtocolContext& protocolContext, PassiveProtocolHandler& protocolHandler)

   at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

 


This Question is already solved Click To See The Answer


Hi,

I found that IdPInitiatedSignonPageDisabledException option/feature is by Default disabled in the ADFS 4.0 on Windows Server 2016.

So you need to enable it by running below command on Power Shell.

 

set-AdfsProperties -EnableIdPInitiatedSignonPage $true

 

Hope it helps you.