Transfer Data Studio report ownership

643 views
Skip to first unread message

Chirag Seetharam (adm)

unread,
May 9, 2022, 2:43:56 PM5/9/22
to GAM for Google Workspace
Hello,
I'm unable to use the data studio commands on my GAM-adv instance.

example: if i use the below command, i received an error stating "ERROR: Invalid choice"
gam us...@domain.com print datastudioassets

I have enabled data studio API on my GAM project in GCP, and trying to transfer or give edit permission to a data studio report. Please could you confirm if the below command should work?

gam <UserTypeEntity> add datastudiopermissions assettype report owner  <Emailddress> assetids <DataStudioAssetIDEntity> role editor

<UserTypeEntity> = should i replace this with 'gam user <user id>' ?


Ross Scroggs

unread,
May 9, 2022, 3:17:07 PM5/9/22
to google-ap...@googlegroups.com
Chirag,

This is the key: <UserTypeEntity> = should i replace this with 'gam user <user id>' ?
gam user us...@domain.com print datastudioassets

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/21dc1690-d88f-4e5a-926c-a1d6cdda7934n%40googlegroups.com.


--

Temple Rodgers

unread,
May 26, 2022, 10:00:15 AM5/26/22
to GAM for Google Workspace
yep - this one's defeated me! I haven't seen a valid example in the various threads. I'm trying to assign edit permissions to a new user of a datastudio report, I've tried lots of combinations like:

gam user owner.email add datastudiopermissions owner owner.email role editor user user...@anything.com

The the error message is "invalid argument" for the last email address ... so I'm guessing the "user user...@anything.com" isn't right but I don't see anything in the command description 

Ross Scroggs

unread,
May 26, 2022, 10:31:40 AM5/26/22
to google-ap...@googlegroups.com
Temple,

<DataStudioPermission> ::=
        user:<EmailAddress>|
        group:<EmailAddress>|
        domain:<DomainName>|
        serviceAccount:<EmailAddress>
You need a : between user and user...@anything.com

gam user owner.email add datastudiopermissions owner owner.email role editor user:username@anything.com

Disclaimers apply, for full details see: https://hackney.gov.uk/email-disclaimer

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.

Temple Rodgers

unread,
May 26, 2022, 11:09:10 AM5/26/22
to GAM for Google Workspace
thank you so much @Ross - that's worked perfectly!

Temple Rodgers

unread,
May 27, 2022, 3:34:41 AM5/27/22
to GAM for Google Workspace
ugh - a follow-up ... trying to add a single user as an editor, I finally managed to work out the syntax

gam user fr...@domain.com add datastudiopermissions assettype report title "Datastudio Report Name" owner fr...@domain.com role editor user:aleph...@domain.com



On Thursday, 26 May 2022 at 15:31:40 UTC+1 Ross Scroggs wrote:
Reply all
Reply to author
Forward
0 new messages