SharePoint Online how to get default timezone and Site storage limits using PS?

Oleg Tserkovnyuk 671 Reputation points
2022-06-20T12:48:45.777+00:00

Hello,

Could someone suggest how to get:

  1. Settings > Site storage limits (it is either Atuomatic or Manual)
  2. Settings > iete creation > Default time zone

Regarding site storage limits: I know how to set them or get for specific site, however I am interested in the global setting. Would like to know if it is set to Atuomatic or Manual.
Behind the scene SharePoint connects to https://tenantname-admin.sharepoint.com/_api/SPOInternalUseOnly.TenantAdminSettings/ to change this value. It updates parameter AutoQuotaEnabled. Unfortunately I could not find such or similar parameter anywhere, also _api/SPOInternalUseOnly.TenantAdminSettings seems like really only for internal use. At least I could not find a way connect to it.

Regarding Default time zone. I have found a way to get default time zone for specific site (https://www.sharepointdiary.com/2017/06/sharepoint-online-change-time-zone-using-powershell.html), but cannot get the global settings from Settings > Site creation > Default timezone.

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Accepted answer
  1. Tong Zhang_MSFT 9,251 Reputation points
    2022-06-21T08:15:08.007+00:00

    Hi @Oleg Tserkovnyuk ,

    According to my research and testing, it is currently not possible to get the Site storage limits and Default time zone in the global setting by using PowerShell. As you said, currently we can only use the PowerShell to set specific site storage limits, and change special site time zone.

    I suggest you mention a feedback on this issue. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks for your understanding.

    Feedback:
    https://feedbackportal.microsoft.com/feedback/


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.