You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cmdlet attaches the Azure subscription ID, resource group and region with the container type ID provided.
31
29
32
-
You must be a SharePoint Embedded Administrator to run this cmdlet. You also need to have owner or contributor permissions on an Azure subscription, with active time bound permission on billing, and on the Resource group.
30
+
You must be a SharePoint Embedded Administrator to run this cmdlet. You also need to have owner or contributor permissions on an Azure subscription, with active time bound permission on billing, and on the Resource group.
33
31
34
32
If you don't have an Azure subscription, follow steps here to [create a subscription](/azure/cloud-adoption-framework/ready/azure-best-practices/initial-subscriptions).
Example 1 attaches the billing profile of Azure subscription ID "5a8a4d9f", resource group "RG100" and region "(US) East US" to the container type ID "aa1d89b3".
47
45
48
-
49
46
## PARAMETERS
50
47
51
-
### -ContainerTypeId
52
-
53
-
This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application.
48
+
### -AzureSubscriptionId
49
+
50
+
This parameter describes the Azure subscription ID to which the container type needs to be associated.
51
+
54
52
```yaml
55
-
Type: String
53
+
Type: System.Guid
56
54
Parameter Sets: (All)
57
55
Aliases:
58
56
Applicable: SharePoint Online
59
-
57
+
60
58
Required: True
61
59
Position: Named
62
60
Default value: None
63
61
Accept pipeline input: False
64
62
Accept wildcard characters: False
65
63
```
66
64
67
-
### -AzureSubscriptionId
65
+
### -ContainerTypeId
68
66
69
-
This parameter describes the Azure subscription ID to which the container type needs to be associated.
67
+
This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application.
70
68
71
69
```yaml
72
-
Type: String
73
-
Parameter Sets:
70
+
Type: System.Guid
71
+
Parameter Sets: (All)
74
72
Aliases:
75
73
Applicable: SharePoint Online
76
74
77
-
Required: False
75
+
Required: True
78
76
Position: Named
79
77
Default value: None
80
78
Accept pipeline input: False
81
79
Accept wildcard characters: False
82
80
```
83
81
82
+
### -Region
84
83
85
-
### -ResourceGroup
86
-
87
-
This parameter describes the resource group to be used for the associated container type.
84
+
This parameter describes the region to which the billing profile of the container type is associated with.
88
85
89
86
```yaml
90
-
Type: String
91
-
Parameter Sets:
87
+
Type: System.String
88
+
Parameter Sets: (All)
92
89
Aliases:
93
90
Applicable: SharePoint Online
94
91
95
-
Required: False
92
+
Required: True
96
93
Position: Named
97
94
Default value: None
98
95
Accept pipeline input: False
99
96
Accept wildcard characters: False
100
97
```
101
98
102
-
### -Region
99
+
### -ResourceGroup
103
100
104
-
This parameter describes the region to which the billing profile of the container type is associated with.
101
+
This parameter describes the resource group to be used for the associated container type.
105
102
106
103
```yaml
107
-
Type: String
108
-
Parameter Sets: ParamSet2, ParamSet3
104
+
Type: System.String
105
+
Parameter Sets: (All)
109
106
Aliases:
110
107
Applicable: SharePoint Online
111
108
@@ -116,6 +113,19 @@ Accept pipeline input: False
116
113
Accept wildcard characters: False
117
114
```
118
115
116
+
### CommonParameters
117
+
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).
118
+
119
+
## INPUTS
120
+
121
+
### None
122
+
123
+
## OUTPUTS
124
+
125
+
### System.Object
126
+
127
+
## NOTES
128
+
119
129
## RELATED LINKS
120
130
121
131
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
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).
Adds a source to the **Content Security Policy** configuration.
28
+
Adds a source to the **Content Security Policy** configuration.
31
29
The source will be added to the `script-src` directive during construction of the `Content-Security-Policy` header.
32
30
In multi-geo environments, **Content Security Policy** configuration is unique to each geo.
33
31
32
+
## EXAMPLES
33
+
34
34
## PARAMETERS
35
35
36
36
### -Source
37
37
38
38
Source to be added to the **Content Security Policy** configuration.
39
39
40
40
```yaml
41
-
Type: String
41
+
Type: System.String
42
42
Parameter Sets: (All)
43
43
Aliases:
44
44
Applicable: SharePoint Online
@@ -50,6 +50,19 @@ Accept pipeline input: False
50
50
Accept wildcard characters: False
51
51
```
52
52
53
+
### CommonParameters
54
+
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).
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).
0 commit comments