Skip to content

Commit 395df68

Browse files
dlucesdilucesr
andauthored
Fix reference code for SPE (#10974)
Co-authored-by: dilucesr <dilucesr+odspmdb@microsoft.com>
1 parent 22911d8 commit 395df68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/embedded/build/preview-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Use this server-side pattern:
170170

171171
```csharp
172172
[HttpGet]
173-
[AuthorizeForScopes(Scopes = new string[] { "Files.Read.All" })]
173+
[AuthorizeForScopes(Scopes = new string[] { "FileStorageContainer.Selected" })]
174174
public async Task<ActionResult<string>> GetPreviewUrl(string driveId, string itemId)
175175
{
176176
return url + "&nb=true";

0 commit comments

Comments
 (0)