Quicksight api , creating folder by namespace

i have two quicksight accounts ( diffrent namespace obviously )
and im using the quicksight client api to create a folder:

this.quickSightClient
                .get()
                .createFolder(
                    CreateFolderRequest.builder()
                        .awsAccountId(this.quickSightClient.getAwsAccountId()).name(folderName)
                        .permissions(permissions).folderId(folderId).folderType(FolderType.SHARED)
                        .parentFolderArn(parentFolderArn)
                        .sharingModel(SharingModel.NAMESPACE)
                        .build()).arn();

My issue is that i still can see the folder when iā€™m in a diffrent namespace. also datasets that i create inside these folders can be seen
any idea ?

Hi @ilyasse,
Hoping to clarify real quick; so your folder from one namespace is visible when logged in to another namespace account along with the datasets as well?

Thank you

1 Like

Hello @Brett, yes exactly as you said, i can view my folder from another account ( diffrent namespace) and yes with the dataset aswell

Hi @ilyasse,
I would suggest trying this out and seeing if the folder was setup to be accessible across different namespaces:
https://docs.aws.amazon.com/cli/latest/reference/quicksight/describe-folder-permissions.html

Let me know if this helps or if you have any additional questions!

Thank you

1 Like

Yes i have done it, and i found out that only users from one namespace were there. Which doesnt make sens why the other users from diffrent namespace can still see the folder

Hi @ilyasse,
This does seem like abnormal behavior, I would suggest creating a support ticket for further assistance from the AWS support team!