-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Office 365 CLI Setup script #10
Comments
Happy to help out with this one 👍🏻 |
Hello Garry, I gave it a short try a few weeks ago... but I am definitely not as proficient in bash as in PowerShell. I will push what I already have done. A helping help would indeed be really appreciated :) Kind regards |
I will do even better and provide a working PowerShell script using the CLI, then it would be awesome if you can give the translation in bash :) |
Sounds like a deal 👍🏻😁 |
So I was thinking, we could create a script using CLI commands or instead we could look to add a specialist command in the CLI for the setup of this project. Thoughts? |
Hi @garrytrinder, What do you think? I will work on the PowerShell script tomorrow. |
Looking at the script you have for PowerShell, looks like we need a script to replicate the following
Does that cover it all? |
I think that's it. Take care that it should set the permissions on the preview image library to "everyone except externals" I don't know if there an option in the CLI for that? |
Thanks for clarifying. If we are missing commands then we can can build them 👍🏻 |
Hi @garrytrinder, I am writing, as promised, the PowerShell version of the o365 CLI setup script and Indeed some features might be missing (or I am just not sure what command to use if there is one... The "missing" features would be:
<pnp:WebApiPermissions>
<pnp:WebApiPermission Resource="Microsoft.Graph" Scope="Directory.AccessAsUser.All"/>
</pnp:WebApiPermissions>
<pnp:Security>
<pnp:BreakRoleInheritance CopyRoleAssignments="false" ClearSubscopes="false">
<pnp:RoleAssignment Principal="{associatedmembergroupid}" RoleDefinition="Contribute"/>
<pnp:RoleAssignment Principal="c:0-.f|rolemanager|spo-grid-all-users/{parameter:TenantId}" RoleDefinition="Read"/>
</pnp:BreakRoleInheritance>
</pnp:Security> Your wisdom would be really appreciated here :) |
Hi @garrytrinder , I pushed a draft of the PS1 setup script using the CLI Related to my previous comment, the are 2 missing steps so far, and it was not really tested, I pushed it only for reference so far. :) Regards, |
Thanks @ypcode Let me create some issues in the CLI repo to cover the missing commands to progress. |
Provide an option for users on non Windows systems to be able to setup the Studio in their tenant.
The text was updated successfully, but these errors were encountered: