Proper format of grant-permissions parameter in the update-dashboard-permissions function

Hello,

We are attempting to use the cli to grant one user admin (co-owner) rights to all existing dashboards.

Can anyone help specify what values should be passed for the --grant-permissions parameter?

I’ve tried:

–grant-permissions Principal=“firstname.lastname”,Actions=“Co-owner”

And have received the following error message:

An error occurred (InvalidParameterValueException) when calling the UpdateDashboardPermissions operation: Principal ARN “firstname.lastname” is not part of the same account ############

https://docs.aws.amazon.com/cli/latest/reference/quicksight/update-dashboard-permissions.html#options

Hi @fip,

As you are looking at admin capabilities, getting familiar with the QuickSight API’s would make it easier . This would also give you an understanding of the structure of an ARN . My recommendation is look into the following workshop and it’s modules : Workshop Studio

As for your question , you will find an example here : Workshop Studio ( exercise 7 )

Regards,
Koushik

Thank you @Koushik_Muthanna! That example worked.