Closed TamerElSherif-Siware closed 3 weeks ago
Thanks Ross for replying. unfortunately, It did not work.
could you please clarify the syntax again or give me an example
Also, When I tried the delete permission command it did not work. It gave me permission deleted in the command result but it was not actually deleted (see the below screenshot)
I gave you an example in my last reply. gam user @. @.> add lookerstudiopermission title "PM Team Utilization V1" role viewer @. @.>
Show me the command yiu are typing and the result.
Ross Scroggs @.***
On Apr 17, 2024, at 4:11 AM, TamerElSherif-Siware @.***> wrote:
Thanks Ross for replying. unfortunately, It did not work. could you please clarify the syntax again or give me an example
— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/407#issuecomment-2061012285, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL3ZQIUCOWTIZTWBNVDY5ZKHHAVCNFSM6AAAAABGHUTRQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRGAYTEMRYGU. You are receiving this because you commented.
Here is the command and result:
gam user tamer.elsherif@si-ware.com add lookerstudiopermission title "PM Team Utilization V1" role viewer intranet@si-ware.com
Getting all Looker Studio REPORT Assets for tamer.elsherif@si-ware.com Got 1 Looker Studio REPORT Asset... User: tamer.elsherif@si-ware.com, Add Looker Studio Permissions to 1 Looker Studio Asset User: tamer.elsherif@si-ware.com, Looker Studio Asset: PM Team Utilization V1, Add Failed: Policy contains invalid member prefix intranet@si-ware.com
You keep omitting user: from the email address am user @. add lookerstudiopermission title "PM Team Utilization V1" role viewer @.
Ross
On Wed, Apr 17, 2024 at 7:21 AM Tamer ElSherif SWS @.***> wrote:
Here is the command and result:
gam user @. add lookerstudiopermission title "PM Team Utilization V1" role viewer @.
Getting all Looker Studio REPORT Assets for @. Got 1 Looker Studio REPORT Asset... User: @., Add Looker Studio Permissions to 1 Looker Studio Asset User: @., Looker Studio Asset: PM Team Utilization V1, Add Failed: Policy contains invalid member prefix @. image.png (view on web) https://github.com/taers232c/GAMADV-XTD3/assets/96870717/a4d12f25-6a75-4e44-a25a-ffb5c6750246
— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/407#issuecomment-2061380011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL7FTAA34BP25IYFVXLY52ANFAVCNFSM6AAAAABGHUTRQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRRGM4DAMBRGE . You are receiving this because you commented.Message ID: @.***>
-- Ross Scroggs @.***
I think it is omitted by GitHub! here is another screenshot
If you want the command to work, you have to type it correctly: Wrong:
gam user tamer.elsherif@si-ware.com add lookerstudiopermission title "PM Team Utilization V1" role viewer intranet@si-ware.com
Right:
gam user tamer.elsherif@si-ware.com add lookerstudiopermission title "PM Team Utilization V1" role viewer user:intranet@si-ware.com
Thanks a lot Ross it worked!
I could show Looker Studio report details but I am not able to add permission to a user. I got This error: Add Failed: Policy contains invalid member prefix yyyyy@xxxx.com
Command: gam user xxxxx@xxxx.com add lookerstudiopermission title "PM Team Utilization V1" role viewer yyyyy@xxxx.com
result: Getting all Looker Studio REPORT Assets for xxxxx@xxxx.com Got 1 Looker Studio REPORT Asset... User: xxxxx@xxxx.com, Add Looker Studio Permissions to 1 Looker Studio Asset User: xxxxx@xxxx.com, Looker Studio Asset: PM Team Utilization V1, Add Failed: Policy contains invalid member prefix yyyyy@xxxx.com