command spo web installedlanguage list doesn't work for Hubsites
See original GitHub issueDescription
command spo web installedlanguage list doesn’t work against Hubsites
Steps to reproduce
Run command m365 spo web installedlanguage list --webUrl <site_url>
against a communication hubsite
Expected results
List of installed languages in a site collection similar to the output from
https://<site_url>/_api/web/RegionalSettings/InstalledLanguages
Actual results
No results
Diagnostics
No results
CLI for Microsoft 365 version
v4.0.0
nodejs version
v14.18.0
Operating system (environment)
macOS
Shell
zsh
cli doctor
{ "os": { "platform": "darwin", "version": "Darwin Kernel Version 21.2.0: Sun Nov 28 20:29:10 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T8101", "release": "21.2.0" }, "cliVersion": "4.0.0", "nodeVersion": "v14.18.0", "cliAadAppId": "31359c7f-bd7e-475c-86db-fdb8c937548e", "cliAadAppTenant": "common", "authMode": "DeviceCode", "cliEnvironment": "", "roles": [], "scopes": [ "AllSites.FullControl", "AppCatalog.ReadWrite.All", "ChannelMember.ReadWrite.All", "ChannelMessage.Send", "ChannelSettings.ReadWrite.All", "Directory.AccessAsUser.All", "Directory.ReadWrite.All", "Group.ReadWrite.All", "IdentityProvider.ReadWrite.All", "Mail.ReadWrite", "Mail.Send", "Reports.Read.All", "Tasks.ReadWrite", "Team.Create", "TeamMember.ReadWrite.All", "TeamsApp.ReadWrite.All", "TeamsAppInstallation.ReadWriteForUser", "TeamSettings.ReadWrite.All", "TeamsTab.ReadWrite.All", "TermStore.ReadWrite.All", "User.Invite.All", "User.ReadWrite.All", "profile", "openid", "email", "AllSites.FullControl", "AppCatalog.ReadWrite.All", "ChannelMember.ReadWrite.All", "ChannelMessage.Send", "ChannelSettings.ReadWrite.All", "Directory.AccessAsUser.All", "Directory.ReadWrite.All", "Group.ReadWrite.All", "IdentityProvider.ReadWrite.All", "Mail.ReadWrite", "Mail.Send", "Reports.Read.All", "Tasks.ReadWrite", "Team.Create", "TeamMember.ReadWrite.All", "TeamsApp.ReadWrite.All", "TeamsAppInstallation.ReadWriteForUser", "TeamSettings.ReadWrite.All", "TeamsTab.ReadWrite.All", "TermStore.ReadWrite.All", "User.Invite.All", "User.ReadWrite.All", "AllSites.FullControl", "AppCatalog.ReadWrite.All", "ChannelMember.ReadWrite.All", "ChannelMessage.Send", "ChannelSettings.ReadWrite.All", "Directory.AccessAsUser.All", "Directory.ReadWrite.All", "Group.ReadWrite.All", "IdentityProvider.ReadWrite.All", "Mail.ReadWrite", "Mail.Send", "Reports.Read.All", "Tasks.ReadWrite", "Team.Create", "TeamMember.ReadWrite.All", "TeamsApp.ReadWrite.All", "TeamsAppInstallation.ReadWriteForUser", "TeamSettings.ReadWrite.All", "TeamsTab.ReadWrite.All", "TermStore.ReadWrite.All", "User.Invite.All", "User.ReadWrite.All" ] }
Additional Info
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (12 by maintainers)
It’s hard for me to say when this functionality will be added I am not sure if it is on some kind of timeline 🤔. Maybe @waldekmastykarz knows more 😉. I didn’t see any opened issue for this functionality and if @alaakh42 you have some time you could open an issue for each of those as an new command suggestion so that we could check if it is supported by any rest API and add it 👍. I strongly encourage you to try to contribute 👍 but if you don’t feel like it that’s totally fine. TBH I think those are great suggestions and I think if there will be no better candidate’s I could try to take them, if I will find the time that is 😉.
Excellent! Thank you for confirming @alaakh42 👏