- 2 Minutes to read
- Print
- DarkLight
- PDF
How to enable Anchor integration in SharePoint
- 2 Minutes to read
- Print
- DarkLight
- PDF
This article will discuss how to enable the Anchor integration on SharePoint. Create an Azure app (requires Admin access)
Step 1: Go to https://portal.azure.com/
Step 2: Click on Azure Active Directory
Step 3: Click on App Registrations
from the menu items on the left.
Step 4: Click on New registration
on top of the page.
Step 5: Give the app a name.
- Our recommendation is:
FenixPyre
Step 6: Select the account type and provide a redirect URL, and select app type as web
- Account Type: Accounts in this organizational directory only (FenixPyre only - Single tenant)
- App Type:
Web
- Redirect URI: https://admin.anchormydata.com/<org-id>/integrations/sharepoint
Step 7: Click on Register
Step 8: [Optional] In the app details page, click on Branding & Properties
tab to customize your app.
- Logo: Please use the image below for the logo
- Home page URL:
https://fenixpyre.com/
- Terms of service URL:
https://fenixpyre.com/ssa
- Privacy Statement URL:
https://fenixpyre.com/privacy-policy
- Click on
Save
Step 9: Create a secret key
- Click on
Certificates & Secrets
from the app details page - Click on
Client secrets
and selectNew client secret
c. Give a name to the secret. We recommended the name: sharepoint_integration
. Select Expiry date as 12 months
and then click Add
. Please note: When your client secret reaches its expiry date, create a new client secret and input it into the admin dashboard. For instructions to input client secret into the admin dashboard Click Here.
d. Copy the secret value to add it to the Anchor admin portal later. Note: Please do not share the secret with anyone except Anchor.
Step 10: In the app details page, click on Manifest
from the left menu items.
Step 11: Paste the following JSON into addIns
section (highlighted in the screenshot) in the manifest. Click on Save.
{
"id": "76724c1c-90f2-44d1-af08-37166e0223c0",
"type": "FileHandler",
"properties": [
{
"key": "version",
"value": "2"
},
{
"key": "actions",
"value": "[{\"type\":\"newFile\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/file/open\",\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"web\":{}}},{\"type\":\"open\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/file/open\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"web\":{}}},{\"type\":\"preview\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/file/open\",\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"web\":{}}},{\"type\":\"custom\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/file/open\",\"displayName\":\"Open\",\"shortDisplayName\":\"Open\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"web\":{}}},{\"type\":\"custom\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/file/share\",\"displayName\":\"Share\",\"shortDisplayName\":\" Share\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"folder\":{},\"allowMultiSelect\":false,\"web\":{}}},{\"type\":\"custom\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/files/anchor/setup\",\"displayName\":\"Add To Auto Encryption\",\"shortDisplayName\":\"Auto Encryption\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"folder\":{},\"allowMultiSelect\":false,\"web\":{}}},{\"type\":\"custom\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/files/anchor\",\"displayName\":\"Encrypt\",\"shortDisplayName\":\"Anchor\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"allowMultiSelect\":true,\"web\":{}}},{\"type\":\"custom\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/files/unanchor\",\"displayName\":\"Decrypt\",\"shortDisplayName\":\"unAnchor\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"allowMultiSelect\":true,\"web\":{}}},{\"type\":\"custom\",\"url\":\"https://onedrive.anchormydata.com/handler/v1/files/logs\",\"displayName\":\"Access Logs\",\"shortDisplayName\":\"Access Logs\",\"icon\":{\"png1x\":\"https://icon-assets.anchormydata.com/fenixpyre_200x200_trans.png\"},\"availableOn\":{\"file\":{\"extensions\":[\"*\"]},\"allowMultiSelect\":false,\"web\":{}}}]"
}
]
}
Step 12: In the app details page, click on API Permissions
from the left menu items.
- Anchor requires API permissions to access Microsoft Graph APIs and SharePoint files, permissions etc.
Please provide the following API permissions
Application Level Permissions:
1.Sites.Manage.All
(Graph Permission)
Delegated Level Permissions:
1.User.Read.All
(Graph Permission)
2.AllSites.FullControl
(Share-point Permission)
Step 13: After adding the API permissions please click on Grant admin consent for Anchor
Step 14: For the App to be visible in SharePoint following Steps has to be performed
a. Go to Azure Active Directory or Microsoft Entra ID
b. Click on Enterprise applications
c. Select your App from the list
d. Click on Properties
e. Enable Visible to users? by clicking the switch
Step 15: The app is now setup. FenixPyre right-click menu options will appear on SharePoint/OneDrive/Teams. If the options do not appear, then please give up to 24-hours. Microsoft has a caching mechanism that takes up to 24-hours to refresh.