# Azure AD Kibana

**URL:** <https://discuss.elastic.co/t/azure-ad-kibana/206329>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [November 4, 2019, 5:44am UTC](https://discuss.elastic.co/t/azure-ad-kibana/206329 "2019-11-04T05:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnn](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@arnn](https://discuss.elastic.co/u/arnn)\
**Post date:** [November 4, 2019, 5:44am UTC](https://discuss.elastic.co/t/azure-ad-kibana/206329/1 "2019-11-04T05:44:56Z")

</div>

Trying to setup the SAML configuration towards Azure AD for an elastic cloud setup, but fails to access Kibana when using SAML.  
Any suggestion on what is wrong?

(Extra annoying as i had the the setup working 3 weeks ago)

```auto
xpack:
  security:
    authc:
      realms:
        saml: 
          cloud-saml: 
            order: 2
            attributes.principal: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" 
            attributes.groups: "http://schemas.microsoft.com/ws/2008/06/identity/claims/groups" 
            idp.metadata.path: "https://login.microsoftonline.com/e3d6688c-40b8-4418-9df0-b67df377ae68/federationmetadata/2007-06/federationmetadata.xml?appid=051691f5-d0bc-4b33-b872-c1a4cbea8a1a" 
            idp.entity_id: "https://sts.windows.net/e3d6688c-40b8-4418-9df0-b67df377ae68/" 
            sp.entity_id: "https://66d89f1c05584f95a20bd11f32fda1a1.eu-west-1.aws.found.io:9243" 
            sp.acs: "https://66d89f1c05584f95a20bd11f32fda1a1.eu-west-1.aws.found.io:9243/api/security/v1/saml"
            sp.logout: "https://66d89f1c05584f95a20bd11f32fda1a1.eu-west-1.aws.found.io:9243/logout"
						

```

```auto
xpack.security.authProviders: [saml,basic]
server.xsrf.whitelist: [/api/security/v1/saml]
xpack.security.authc.saml.realm: cloud-saml
xpack.security.public:
  protocol: https
  hostname: 66d89f1c05584f95a20bd11f32fda1a1.eu-west-1.aws.found.io
  port: 9243

```

Error recieved after azure ad login:  
{"error":"no handler found for uri [/api/security/v1/saml] and method [POST]"}

---

<div class="post-metadata">

**Author:** ![arnn](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@arnn](https://discuss.elastic.co/u/arnn)\
**Post date:** [November 4, 2019, 12:36pm UTC](https://discuss.elastic.co/t/azure-ad-kibana/206329/2 "2019-11-04T12:36:39Z")

</div>

I made an mistake referenced to elasticsearch url instead of the kibana url. Works now

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 2, 2019, 12:36pm UTC](https://discuss.elastic.co/t/azure-ad-kibana/206329/3 "2019-12-02T12:36:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
