# Workspace search with federated identities (Azure AD): How to configure Document Level Permissions?

**URL:** <https://discuss.elastic.co/t/workspace-search-with-federated-identities-azure-ad-how-to-configure-document-level-permissions/298334>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [February 26, 2022, 4:40pm UTC](https://discuss.elastic.co/t/workspace-search-with-federated-identities-azure-ad-how-to-configure-document-level-permissions/298334 "2022-02-26T16:40:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Vanderschueren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_vanderschueren/32/102370_2.png) [@Robin\_Vanderschueren](https://discuss.elastic.co/u/Robin_Vanderschueren)\
**Post date:** [February 26, 2022, 4:40pm UTC](https://discuss.elastic.co/t/workspace-search-with-federated-identities-azure-ad-how-to-configure-document-level-permissions/298334/1 "2022-02-26T16:40:19Z")

</div>

I'm trying to figure out if it is possible to use Azure AD as an identity provider for Elastic Workspace search.

Currently I've followed this blog: [Elasticsearch (elastic cloud) SSO with Azure AD | by Rajat Panwar | Medium](https://medium.com/@rajat-panwar/elastic-cloud-sso-with-azure-ad-76d0dd1e3319) and managed to allow authentication via azureAD.

Now I'm trying to figure out how the document level permissions would work in this case. Looking at this: [Managing document access & permissions for content sources | Workplace Search Guide [8.4] | Elastic](https://www.elastic.co/guide/en/workplace-search/current/workplace-search-sources-document-permissions.html#sources-permissions-microsoft) I can't really figure out what matches these user attributes needed for configuring these permissions. Is it possible to have document level permissions in combination with a federated identity provider?

---

<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:** [October 31, 2022, 2:48am UTC](https://discuss.elastic.co/t/workspace-search-with-federated-identities-azure-ad-how-to-configure-document-level-permissions/298334/2 "2022-10-31T02:48:07Z")

</div>

Closed on October 31, 2022, 2:48am UTC

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