Skip to content

Sagemaker Unified Studio Glossaries

1

I am trying to create a business glossary in sagemaker unified studio and although my role has admin permissions I get the error message "AccessDeniedException: User is not permitted to perform operation: CreateGlossary".

This along with the creation of metadata forms are the only actions I have found in sagemaker that I am not being able to do, am I missing something?

asked a year ago670 views

2 Answers
1

It sounds like you're encountering a permissions issue when trying to create a business glossary in Amazon SageMaker Unified Studio, despite having admin permissions. This situation suggests that there might be some specific authorization policies in place within your SageMaker Unified Studio domain unit that are affecting your ability to create glossaries.

In SageMaker Unified Studio, the ability to create glossaries is controlled by a specific authorization policy called the "Glossary creation policy". This policy needs to be assigned to your project within the domain unit to grant the necessary permissions for creating glossaries.

Similarly, the creation of metadata forms is governed by the "Metadata forms creation policy". The fact that you're experiencing issues with both glossary and metadata form creation indicates that these specific policies might not be assigned to your project or role.

To resolve this issue, you should check the following:

  1. Ensure that your project within the SageMaker Unified Studio domain unit has been assigned the "Glossary creation policy".

  2. Verify that your project also has the "Metadata forms creation policy" assigned if you need to create metadata forms.

  3. Check with your domain unit administrator to confirm that these policies have been properly set up and assigned to your project or role.

  4. Make sure you are a member of the owning project with the right permissions for the domain where you're trying to create the glossary.

If these policies are not in place or not correctly assigned, that would explain why you're encountering the "AccessDeniedException" error, even with admin permissions. Your admin permissions might cover other aspects of SageMaker, but these specific actions in Unified Studio require these particular authorization policies to be in place.

If you've confirmed that these policies are correctly assigned and you're still experiencing issues, it would be advisable to contact AWS support for further assistance, as there might be other factors at play in your specific setup.
Sources
Domain units and authorization policies in Amazon SageMaker Unified Studio - Amazon SageMaker Unified Studio
Create a business glossary in Amazon SageMaker Unified Studio - Amazon SageMaker Unified Studio

answered a year ago

0

If you cannot create business glossaries or metadata forms in Amazon SageMaker Unified Studio and you get the error AccessDeniedException: User is not permitted to perform operation: CreateGlossary, run the following commands in AWS CloudShell. First, get the rootDomainUnitId of your domain: aws datazone get-domain --identifier "YOUR_DOMAIN_ID" --region YOUR_REGION. Then enable glossaries: aws datazone add-policy-grant --domain-identifier "YOUR_DOMAIN_ID" --entity-type "DOMAIN_UNIT" --entity-identifier "YOUR_ROOT_UNIT_ID" --policy-type "CREATE_GLOSSARY" --detail '{"createGlossary": {}}' --principal '{"project": {"projectGrantFilter": {"domainUnitFilter": {"domainUnit": "YOUR_ROOT_UNIT_ID", "includeChildDomainUnits": true}}, "projectDesignation": "OWNER"}}' --region YOUR_REGION. Finally, enable metadata forms: aws datazone add-policy-grant --domain-identifier "YOUR_DOMAIN_ID" --entity-type "DOMAIN_UNIT" --entity-identifier "YOUR_ROOT_UNIT_ID" --policy-type "CREATE_FORM_TYPE" --detail '{"createFormType": {}}' --principal '{"project": {"projectGrantFilter": {"domainUnitFilter": {"domainUnit": "YOUR_ROOT_UNIT_ID", "includeChildDomainUnits": true}}, "projectDesignation": "OWNER"}}' --region YOUR_REGION. Replace YOUR_DOMAIN_ID with your domain ID, YOUR_ROOT_UNIT_ID with the value from the rootDomainUnitId field obtained in the first command, and YOUR_REGION with your AWS region (e.g. us-east-2). Only users with the Owner role in their project will be able to create glossaries and metadata forms.

cloudshell aws datazone add-policy-grant
--domain-identifier "YOUR_DOMAIN_ID"
--entity-type "DOMAIN_UNIT"
--entity-identifier "YOUR_ROOT_UNIT_ID"
--policy-type "CREATE_FORM_TYPE"
--detail '{"createFormType": {}}'
--principal '{"project": {"projectGrantFilter": {"domainUnitFilter": {"domainUnit": "YOUR_ROOT_UNIT_ID", "includeChildDomainUnits": true}}, "projectDesignation": "OWNER"}}'
--region YOUR_REGION

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.