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
The admin of your tenant will need to approve the graph permissions in the admin portal before you can use any graph APIs. You only need to do these steps once (or if you add additional permissions to `config/package-solution.json`)
30
+
31
+
1. Package the web part. First run the following commands:
32
+
33
+
```
34
+
gulp build
35
+
gulp bundle
36
+
gulp package-solution
37
+
```
38
+
39
+
This will create a package under `sharepoint/solution`, with the `.sppkg` extension
40
+
41
+
2. Upload the package to an app catalog. Navigate to the app catalog url and click on *Distribute apps for SharePoint*. Click on *new* to upload the solution to the app catalog and deploy it.
42
+
43
+
> If you do not have an app catalog on your tenant, follow [these steps](https://docs.microsoft.com/en-us/sharepoint/use-app-catalog#step-1-create-the-app-catalog-site-collection) to create one.
44
+
45
+
3. Approve the permissions. Go to the SharePoint admin center (best reached via https://admin.microsoft.com > click **Show All** > SharePoint) and make sure you are signed in as admin.
46
+
47
+
Under *API Management* you should see the permissions that need to be approved. Approve each one by one.
0 commit comments