A unified data governance solution that helps manage, protect, and discover data across your organization
Hi Francesco Castellani
When creating a glossary programmatically in Microsoft Purview, the Glossary API is not collection-scoped during creation. Even if a domainId is included in the payload, the service may still create the glossary under the default/root domain because glossary resources are managed by the Atlas catalog service rather than by Purview collections.
In Purview, collections primarily control governance, access, and organization, while glossaries exist at the catalog level. Because of this architecture, specifying a domain or root collection in the request body may appear to be ignored this is platform behavior rather than a payload issue.
Recommended approach: call the Atlas Glossary endpoint (/atlas/v2/glossary) to create the glossary, then manage access or logical separation using collections, roles, or post-creation governance instead of relying on domainId during creation. Domain placement is not guaranteed through the create glossary API.