hello, I am updating the user role from Reader to Author and as soon as the updateUser is call is complete, we are waiting for 4 secs and Updating Data Source permissions of that user and getting the following exception:
The following principals are invalid in GrantPermissions or RevokePermissions because their roles are less privileged than AUTHOR: [arn:aws:quicksight:us-west-2:$ACCOUNTID:user/$NAMESPACE/$USERNAME]
Here are the permissions that we are trying to grant to the user who changed from Reader to Author
“quicksight:DescribeDataSource”, “quicksight:PassDataSource”, “quicksight:DescribeDataSourcePermissions”,
Looks like there is a delay in UpdateUser even though UpdateUser response returns as updated. Please suggest