By: Shubham Shekhar user 28 Nov 2018 at 11:43 p.m. CST

1 Response
Shubham Shekhar gravatar
I am doing a POC with Office 365 so i want to integrate single sign on(SSO) with Office 365. I have followed all steps defined in Gluu Doc and sync Adfs with with office365 admin pannel. When i entered email in office365 login then it is correctly redirected to gluu signin page then I entered userbname and password. After that got error "**Invalid NameID**". Please find saml request- response:- **SAML Request:** ``` <samlp:AuthnRequest ID="_099e3e23-d100-4c9b-afb1-29d7ee1e2019" Version="2.0" IssueInstant="2018-11-22T08:32:34.061Z" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"> <Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">urn:federation:MicrosoftOnline</Issuer> <samlp:NameIDPolicy Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" /></samlp:AuthnRequest> ``` **SAML Response:** ``` <?xml version="1.0" encoding="UTF-8"?> <saml2p:Response Destination="https://login.microsoftonline.com/login.srf" ID="_164f7c5ac5cf38223372c1bd44ce603f" InResponseTo="_5e69eec0-50a8-474c-adac-b56b76c7856e" IssueInstant="2018-11-22T05:11:17.888Z" Version="2.0" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"> <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">https://cashnow.co.in/idp/shibboleth</saml2:Issuer> <saml2p:Status> <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Requester"> <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy" /></saml2p:StatusCode> <saml2p:StatusMessage>An error occurred.</saml2p:StatusMessage> </saml2p:Status> </saml2p:Response> ```

By Mohib Zico staff 29 Nov 2018 at 8:16 a.m. CST

Mohib Zico gravatar
Duplicate ticket. Please follow previous one: https://support.gluu.org/single-sign-on/6325/office-365-ssingle-sign-on/