Skip to content

Commit 3e4eb41

Browse files
authored
Update Add-SPOSiteScript.md
amend example 1 syntax to work properly when applied
1 parent 89fcd48 commit 3e4eb41

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOSiteScript.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@ This example adds a new site logo from the following script in a file.
3333

3434
```json
3535
{
36-
"verb": "setSiteLogo",
37-
"url": "https://contoso.sharepoint.com/SiteAssets/company-logo.png"
38-
},
36+
"$schema": "schema.json",
37+
"actions": [
38+
{
39+
"verb": "setSiteLogo",
40+
"url": "https://contoso.sharepoint.com/SiteAssets/company-logo.png"
41+
}
42+
]
43+
}
3944
```
4045

4146
```powershell

0 commit comments

Comments
 (0)