Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
edd321b
Learn Editor: Update New-SPOContainerType.md
ishwarit Nov 13, 2025
fb3141e
Learn Editor: Update Set-SPOContainerTypeConfiguration.md
ishwarit Nov 13, 2025
544e945
Learn Editor: Update New-SPOContainerType.md
ishwarit Nov 13, 2025
8d7f70c
Learn Editor: Update Set-SPOContainerTypeConfiguration.md
ishwarit Nov 13, 2025
c372ff3
Learn Editor: Update New-SPOContainerType.md
ishwarit Nov 13, 2025
1fe9d59
Create Set-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 13, 2025
f92280a
Create Get-SPORestrictedSiteCreationForApps
vgaddam-pm Nov 14, 2025
1569bae
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
8d57353
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
0cd915c
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
004509a
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
c1cab2f
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
8dc9815
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
d5fb83b
Update Set-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 14, 2025
b034fad
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 14, 2025
a4a1363
Update and rename Get-SPORestrictedSiteCreationForApps to Get-SPORest…
vgaddam-pm Nov 14, 2025
3fb1485
Learn Editor: Update New-SPOContainerType.md
ishwarit Nov 14, 2025
7a145b2
Learn Editor: Update Set-SPOContainerTypeConfiguration.md
ishwarit Nov 14, 2025
3792248
Learn Editor: Update Set-SPOContainerTypeConfiguration.md
ishwarit Nov 14, 2025
1508c6c
Learn Editor: Update New-SPOContainerType.md
ishwarit Nov 14, 2025
3c458ca
Update sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShel…
vgaddam-pm Nov 16, 2025
5828258
Update Get-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 16, 2025
7a4bcd2
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 16, 2025
2bd5ca6
Update Set-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 16, 2025
9001f56
Update Set-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 16, 2025
28455a8
Update Get-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 16, 2025
82b3b61
Update Microsoft.Online.SharePoint.PowerShell.md
vgaddam-pm Nov 17, 2025
b714e02
Update Get-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 17, 2025
06888c0
Update Get-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 17, 2025
7c40627
Update Set-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 17, 2025
ade1ece
Update Set-SPOTenant to add FileLevelArchive parameters.
HectorRMota Nov 17, 2025
a25ae98
Update Get-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 17, 2025
14d0063
Update Set-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 17, 2025
968bf99
Update Get-SPORestrictedSiteCreationForApps.md
vgaddam-pm Nov 17, 2025
7de192c
Merge branch 'main' into patch-9
vgaddam-pm Nov 17, 2025
5344aee
Update documentation for AllowFileArchive settings
HectorRMota Nov 17, 2025
8f1919a
Learn Editor: Update Set-SPOContainerTypeConfiguration.md
ishwarit Nov 17, 2025
eb8ad5f
Learn Editor: Update New-SPOContainerType.md
ishwarit Nov 17, 2025
66b45e5
Merge branch 'main' into patch-2
HectorRMota Nov 17, 2025
caa80ab
typo fix
Ruchika-mittal01 Nov 17, 2025
243d57b
Merge branch 'main' into docs-editor/Set-SPOContainerTypeConfigurat-1…
Ruchika-mittal01 Nov 17, 2025
a656ba1
Merge pull request #1077 from vgaddam-pm/patch-9
Ruchika-mittal01 Nov 17, 2025
16d0293
Merge branch 'main' into docs-editor/Set-SPOContainerTypeConfigurat-1…
Ruchika-mittal01 Nov 17, 2025
37d1e65
Merge branch 'main' into docs-editor/New-SPOContainerType-1763060441
Ruchika-mittal01 Nov 17, 2025
33954aa
Merge pull request #1076 from ishwarit/docs-editor/Set-SPOContainerTy…
Ruchika-mittal01 Nov 17, 2025
ac87d30
Merge branch 'main' into patch-2
Ruchika-mittal01 Nov 17, 2025
b67e757
Merge branch 'main' into docs-editor/New-SPOContainerType-1763060441
Ruchika-mittal01 Nov 17, 2025
20db695
Merge pull request #1079 from HectorRMota/patch-2
Ruchika-mittal01 Nov 17, 2025
b032198
Merge branch 'main' into docs-editor/New-SPOContainerType-1763060441
Ruchika-mittal01 Nov 17, 2025
966da7a
Merge pull request #1075 from ishwarit/docs-editor/New-SPOContainerTy…
Ruchika-mittal01 Nov 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name: Microsoft.Online.SharePoint.PowerShell
online version: https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-sporestrictedsitecreationforapps
applicable: SharePoint Online
title: Get-SPORestrictedSiteCreationForApps
schema: 2.0.0
author: vgaddam-pm
ms.author: vgaddam
ms.reviewer:
---

# Get-SPORestrictedSiteCreationForApps

## SYNOPSIS

This cmdlet allows SharePoint Administrators to check the current configuration of the restricted site creation for apps feature.

## SYNTAX

```
Get-SPORestrictedSiteCreationForApps [-SiteType <RestrictedSiteCreationSiteType>] [<CommonParameters>]
```

## DESCRIPTION

This cmdlet obtains the current configuration information for the restricted site creation for apps feature, including whether it is enabled, the current mode, and the current policies.

> [!Note]
> This feature is currently in preview and may not be available in your tenant.

## EXAMPLES

### Example 1

```powershell
Get-SPORestrictedSiteCreationForApps
```

Example 1 returns all configuration information for the restricted site creation for apps feature. This includes whether the feature is enabled, the current mode (deny or allow), and the app IDs configured for each site type.

### Example 2

```powershell
Get-SPORestrictedSiteCreation –SiteType Communication
```

Example 2 returns a comma-separated list of the app IDs for the `Communication` site type. Depending on whether restricted site creation is in allow or deny mode, these apps are either allowed or denied from creating SharePoint communication sites.

## PARAMETERS

### -SiteType

> Applicable: SharePoint Online
When provided, only return the Microsoft Entra security groups configured for the specified site type.

PARAMVALUE: All | SharePoint | OneDrive | Team | Communication
- All - OneDrive and all SharePoint sites
- SharePoint - All SharePoint sites (but not OneDrive)
- OneDrive - Only OneDrive
- Team - Only SharePoint team sites (group-connected and classic)
- Communication - Only SharePoint communication sites

```yaml
Type: Microsoft.SharePoint.Administration.SPOnlineProvisioning.RestrictedSiteCreationSiteType
Parameter Sets: (All)
Aliases:
Accepted values: All, SharePoint, OneDrive, Team, Communication

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### System.Object

## NOTES

## RELATED LINKS

[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)

[Set-SPORestrictedSiteCreationForApps](Set-SPORestrictedSiteCreationForApps.md)
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ This cmdlet enables the administrator to check status of all active and availabl
### [Get-SPORestrictedSiteCreation](Get-SPORestrictedSiteCreation.md)
This cmdlet allows SharePoint administrators to check the current configuration of the restricted site creation feature.

### [Get-SPORestrictedSiteCreationForApps](Get-SPORestrictedSiteCreationForApps.md)
This cmdlet allows SharePoint administrators to check the current configuration of the restricted site creation for apps feature. > [!NOTE] > This feature is currently in preview and may not be available in your tenant.

### [Get-SPOServicePrioritizationAppRegistrations](Get-SPOServicePrioritizationAppRegistrations.md)
Retrieves the list of app registrations configured for service prioritization in SharePoint Online.

Expand Down Expand Up @@ -726,6 +729,9 @@ Marks a site as one of multiple possible tenant's organizational news sites. Req
### [Set-SPORestrictedSiteCreation](Set-SPORestrictedSiteCreation.md)
Sets or updates one or more group configurations for restricting site creation.

### [Set-SPORestrictedSiteCreationForApps](Set-SPORestrictedSiteCreationForApps.md)
Sets or updates one or more group configurations for restricting site creation for apps. > [!NOTE] > This feature is currently in preview and may not be available in your tenant.

### [Set-SPOServicePrioritizationAppRegistration](Set-SPOServicePrioritizationAppRegistration.md)
Updates an existing app registration for service prioritization in SharePoint Online.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This cmdlet creates a new container type of standard or trial status. The standa
```
New-SPOContainerType [-ContainerTypeName] <String> -OwningApplicationId <Guid>
[-ApplicationRedirectUrl <String>] [-TrialContainerType] [-IsPassThroughBilling]
[-IsGovernableByAdmin <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-IsGovernableByAdmin <Boolean>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -64,6 +64,14 @@ New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce032

In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms.

### Example 5

```powershell
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -IsArchiveEnabled $true
```

In Example 5, the cmdlet creates a standard container type, ContosoLegal that supports archive and reactivate actions on its containers.

## PARAMETERS

### -ApplicationRedirectUrl
Expand Down Expand Up @@ -102,6 +110,24 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -IsArchiveEnabled

> Applicable: SharePoint Online

Use the `-IsArchiveEnabled` flag to enable archival of containers. Archival moves data to the cold tier, reducing storage costs. While archived, content is inaccessible until reactivated. Reactivation is immediate within the first seven days and can take up to 24 hours afterward. If you don't include this flag, the value defaults to `False`, and all archive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant.

```yaml
Type: System.Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -IsGovernableByAdmin

> Applicable: SharePoint Online
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisab
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
[-CopilotEmbeddedChatHosts <System.Collections.Generic.List`1[System.String]>]
[-AnonymousLinkExpirationInDays <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-AnonymousLinkExpirationInDays <Int32>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -82,6 +82,14 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb
```
This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4.

### Example 7

```powershell
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -IsArchiveEnabled $true
```

Example 7 enables support for archive and reactivate actions on all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4.

## PARAMETERS

### -AnonymousLinkExpirationInDays
Expand Down Expand Up @@ -171,6 +179,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -IsArchiveEnabled

Use the `-IsArchiveEnabled` flag to enable archival of containers. Archival moves data to the cold tier, reducing storage costs. While archived, content is inaccessible until reactivated. Reactivation is immediate within the first seven days and can take up to 24 hours afterward. If you don't include this flag, the value defaults to `False`, and all archive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant.

```yaml
Type: System.Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideTenantWhoCanShareAnonymousAllowList

This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`.
Expand Down
Loading