-
Notifications
You must be signed in to change notification settings - Fork 331
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
[Enhancement] - Add more options to spo tenant settings set
#5034
Comments
Hi @ganesh-sanap, nice suggestion indeed 👍 |
@milanholemans I just checked, so many properties listed by the command. Sample output:
|
Yes it's a lot indeed, but let's focus on the simple things we know what they do, stuff like |
@milanholemans I was going through the list of properties and found that there are more than 100 properties which are currently not available in |
100? Wow, that's a lot. I thought we were supporting the majority of the options. Thanks for looking into it! |
@ganesh-sanap any updates on this issue? Last week I had to set some tenant settings which weren't available, which reminded me of this issue. |
Hi @milanholemans, I am working on adding few Boolean options to tenant settings command currently. I will raise a PR after some testing. |
@milanholemans I have added around 33 new options/parameters to |
Thank you @ganesh-sanap for the hard work. |
spo tenant settings set
@milanholemans @Adam-it Any idea where I can get the sequence/values (0,1,2,3...) for enums like below? Do we need to specify these string values in specific order/index inside array (respective to their enum value)? |
Probably yes. Can't really check right now but the number values will likely be used in the APIs while we try to use their friendly names in code. |
@milanholemans yes, I checked. There is one function ( Any idea where can I get the actual enum values corresponding to the friendly names? I need enum values for below enums:
I found the friendly names here: https://pnp.github.io/pnpcore/api/PnP.Core.Admin.Model.SharePoint.html#enums |
Anyone knows where below properties are used exactly, in which M365 service? (like
These properties can be found at: m365 spo tenant settings list. |
We could also consider introducing support for unknown options. We'd need to research if it's viable but it could be a way to expose a broader set of properties in the meantime. |
Can anyone please help me to get the enum values and their friendly names mapping for above enums? I am ready with another set of newly added parameters but cannot raise PR due because of this. @waldekmastykarz @milanholemans @Adam-it |
Also, please help if you can find any uses or documentations of these options. Thank you very much! |
Since there's no documentation about SP APIs, I'm afraid that there's no other way than to reverse-engineer you through a tool that already uses these options. A decent proxy like Fiddler can give you more insights into which requests are being done, but it requires quite a lot of work. |
Yeah, it's not that easy to understand what an option actually does indeed. I had the same problem for |
Currently we cannot enable/disable the link
Return to classic SharePoint
on modern SharePoint list and library pages at tenant level using CLI for Microsoft 365.Can we enhance
spo tenant settings set
cmdlet to support additional parameter (say--DisableBackToClassic [DisableBackToClassic]
) which will allow users to enable/disable the linkReturn to classic SharePoint
on modern SharePoint list and library pages?I would like to contribute to this library for above enhancement request. Thank you!
The text was updated successfully, but these errors were encountered: