Showing results for 
Show  only  | Search instead for 
Did you mean: 


FNMS Cloud returns a 403 HTTP error when using SAML authentication using ADFS as the identity provider.


This issue is due to the name ID isn't mapping in ADFS.


To resolve the issue, please follow the detailed steps in the attachment 'ADFS FNMS SAML 2.0 configuration.docx'.

Was this article helpful? Yes No
100% helpful (1/1)
Level 7

@fnishikado ,


More than troubleshooting It was indeed a well explained article on SSO enablement as well.


I have doubt here , can we have SP initiated authentication as well with adfs and fnms ?

Because i have a client were we did the integration with adfs where the IdP initiated authentication is working , but SP initiated is not working .


Junaid Vengadan

Flexera Alumni

Hi @emtmeta, can you provide more details as to how "SP-initiated (workflow) is not working"? Does it lead to an error page, for example?

If it leads to an error page: can we get the error logs related to the request and then refer to this troubleshooting page?

If FNMS does not redirect to the IdP and instead to Flexera/AGW login page: is your intention perhaps to change the "Active Identity Providers" set in FNMS Web UI > System Settings  > Security?

Cheers, kent

Level 7

@kent-au , yeah i'm getting the error from SP initiated authentication, but the error is not at FNMS side , it is in adfs side (the flow was as follows )

  1. Logging to SAM portal (/suite)
  2. The FNMS is redirecting the authentication to adfs 
  3. User is providing the user credential at adfs sso page 
  4. The ADFS is forwarding the request back to FNMS (with auth string - as URL) , but it is failing before reaching FNMS with following error.

    An error occurred contact your administrator for information (error screen attached)adfs error.JPG





Flexera Alumni

@emtmeta we will need to check the logs for the given Activity ID you posted above in the IdP then. Hopefully that's gonna give us an idea what's wrong and how we can fix that.

Some of the IdP errors I have encountered before (albeit for a different IdP) includes:

  • invalid signature / issuer does not match (common issue) - check the service provider public key configured in the IdP and whether it matches the Service Provider private key configured in the metadata that FNMS uses to sign outgoing requests to the IdP
  • unauthorized - does the user you log in to have permission to access FNMS app?

Can you get the logs and copy them here?

Level 7

@kent-au  , i'm waiting for the ADFS side logs for the mentioned activity .

Meantime i got the WEBUI log in debug mode , and found the below 


[DEBUG 2021-04-28 09:01:31,492 449010ms AuthServices ] Expanded AuthServicesUrl
[DEBUG 2021-04-28 09:01:31,492 449010ms AuthServices ] No specific idp requested and no Discovery Service configured. Falling back to use configured default Idp
[INFO 2021-04-28 09:01:31,492 449010ms AuthServices ] Initiating login to  

Please let me know if that is something to do with Signout URL , the one that i have not updated in WEBUI as of now .



Junaid Vengadan



Level 7



Below are the error from IDP side

Encountered error during federation passive request.

Additional Data

Protocol Name:

Relying Party:

Exception details:
Microsoft.IdentityServer.Service.Policy.PolicyServer.Engine.AssertionConsumerServiceUrlDoesNotMatchPolicyException: MSIS3200: No AssertionConsumerService is configured on the relying party trust '' that is a prefix match of the AssertionConsumerService URL '' specified by the request.
at Microsoft.IdentityServer.Service.SamlProtocol.EndpointResolver.LookupAssertionConsumerServiceByUrl(Collection`1 assertionConsumerServices, Uri requestedAssertionConsumerServiceUrl, String scopeIdentity)
at Microsoft.IdentityServer.Service.SamlProtocol.EndpointResolver.FindSamlResponseEndpointForAuthenticationRequest(Boolean artifactEnabled, AuthenticationRequest request, ScopeDescription scopeDescription)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolManager.GetResponseEndpointFromRequest(SamlRequest request, Boolean isUrlTranslationNeeded, ScopeDescription scope)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolManager.Issue(HttpSamlRequestMessage httpSamlRequestMessage, SecurityTokenElement onBehalfOf, String sessionState, String relayState, String& newSamlSession, String& samlpAuthenticationProvider, Boolean isUrlTranslationNeeded, WrappedHttpListenerContext context, Boolean isKmsiRequested)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.RequestBearerToken(WrappedHttpListenerContext context, HttpSamlRequestMessage httpSamlRequest, SecurityTokenElement onBehalfOf, String relyingPartyIdentifier, Boolean isKmsiRequested, Boolean isApplicationProxyTokenRequired, String& samlpSessionState, String& samlpAuthenticationProvider)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.BuildSignInResponseCoreWithSerializedToken(HttpSamlRequestMessage httpSamlRequest, WrappedHttpListenerContext context, String relyingPartyIdentifier, SecurityTokenElement signOnTokenElement, Boolean isKmsiRequested, Boolean isApplicationProxyTokenRequired)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.BuildSignInResponseCoreWithSecurityToken(SamlSignInContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.Process(ProtocolContext context)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest(ProtocolContext protocolContext, PassiveProtocolHandler protocolHandler)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

Level 7

By tracing the error "Microsoft.IdentityServer.Service.Policy.PolicyServer.Engine.AssertionConsumerServiceUrlDoesNotMatchPolicyException: MSIS3200: No AssertionConsumerService is configured on the relying party trust '' that is a prefix match of the AssertionConsumerService URL '' specified by the request."

I have found similar case ( ) which suggest to create or update the consume URL .

Do you think this will be a right move ?



Flexera Alumni

Hi @emtmeta, did you change the Assertion Consumer Service (ACS) URL to be the actual FNMS URL for your organization, which for FNMS Cloud will be something like The error seems to be indicating it's trying to access a placeholder URL instead i.e.

For IdP configuration side of things, you may find the Okta configuration guide to be a helpful reference. While it won't exactly be the same, the configuration should be pretty similar.

Okta IdP configuration guide -

If you still face issues, please post screenshots of your ADFS configuration including the ACS URL being set, tho just remember to mask any details which might be sensitive.


Also just noting that all the above articles I linked are sub-pages of this page we have in the community:

SSO SAML Configuration Guide -

Cheers, Kent

Version history
Last update:
‎Jun 03, 2020 08:43 AM
Updated by: