question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

command spo web installedlanguage list doesn't work for Hubsites

See original GitHub issue

Description

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:closed
  • Created 2 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
Adam-itcommented, Jan 17, 2022

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 😉.

2reactions
waldekmastykarzcommented, Jan 23, 2022

Excellent! Thank you for confirming @alaakh42 👏

Read more comments on GitHub >

github_iconTop Results From Across the Web

SharePoint Online: How to Enable or Disable Subsite Creation?
Select “Hide the subsite command” and then click on the “Save” button at the bottom of the page to commit your changes. This...
Read more >
Choose the languages for a SharePoint site user interface
There is no need to install language packs for SharePoint in Microsoft 365. From a site page, click Settings Settings button from SharePoint...
Read more >
Free List View SharePoint Web Part - Amrein Engineering
The free Sharepoint List View Web Part displays lists and libraries located in other sites or site collections.
Read more >
CSOM SharePoint Online - Detailed Guide - SPGuides
Create SharePoint Online Subsite using CSOM; Delete SharePoint List Programmatically; GetModerationStatus of document in SharePoint using CSOM ...
Read more >
SharePoint's hidden user-list - User Information List
For example, like this: https://intra.zimmergren.net/_catalogs/users/simple.aspx . Updated 2019: This works on SharePoint 2007, SharePoint 2010, SharePoint 2013 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found