Setting up a SharePoint document storage
If you are going to use SharePoint document storage for generated documents (you can choose to do so in the general Flexible Documents Setup), you need to set up this storage first. The SharePoint document storage allows you to store generated documents in a specific folder on a particular SharePoint site.
To be able to use the SharePoint document storage in Qvaba Flexible Documents, the following must be configured:
- A new SharePoint site, library, and the corresponding document storage folder must be created.
- A new application must be registered via app registration on Azure Portal.
- Connection settings for the SharePoint document storage must be set up in Flexible Documents Setup.
Create a SharePoint site for document storage
Configuring a SharePoint site for document storage involves three stages:
- Creating a team site in SharePoint.
- Creating a document library in SharePoint.
- Creating a document storage folder in the SharePoint document library.
Create a team site in SharePoint
- Sign in to Microsoft 365. See Where to sign in to Microsoft 365.
- In the top left corner of the page, select the app launcher icon, and then select SharePoint.
- At the top of the SharePoint page, select + Create site and choose the Team site option.
- Select the Standard team template.
- Name your site, give it a description, select privacy settings, and then select Next.
- Configure site privacy in the Privacy settings section to control who has access to your site.
- Add the names or email addresses of anyone else you want to manage the site in the Add members box.
- Add the names or email addresses for everyone you want to be a member of your site, and then select Finish.
|
For more information, see Create a team site in SharePoint. |
Create a document library in SharePoint
- Go to the team site where you want to create a new document library.
- On the menu bar of your site, select New, and then select Document library.
- In the Create new document library dialog box, you can start with a blank library, start from an existing library, or use a template.
- In the Name dialog box, give your new library a name and description , select Create.
|
For more information, see Create a document library in SharePoint. |
Create a document storage folder in the SharePoint document library
- On the menu bar of your SharePoint document library, select + New, and then select Folder.
- In the Folder dialog, enter a folder name in the Folder Name box, and then select Create.
- If you don't see your new folder in the library, refresh your browser.
Register your application in Azure
|
If you already have a valid application registration for your Business Central, there is no need to create a new one; you can use the existing application registration instead. |
To register an application with Microsoft Entra ID in the Azure Portal for SharePoint interaction, follow these steps:
- Sign in to Azure Portal: https://portal.azure.com and sign in with your Azure credentials.
Register an application
- In the left navigation pane, select App registrations and then select + New registration on the App registrations page.
- On the App registrations page, enter your application's registration information.
- Select Register to create the application registration. The app registration overview page is shown.
- Add a client secret by selecting the Certificates & secrets link in the left navigation pane.
Configure platform settings
- Under Manage, select Authentication.
- Under Platform configurations, select Add a platform.
- Under Configure platforms, select the tile for your application type (platform) to configure its settings.
- Select Configure to complete the platform configuration.
- Make sure that the following permissions are applied to your application registration:
|
For more information, see Register an app with Microsoft Entra ID. |
Configure connection to SharePoint document storage in Microsoft Dynamics 365 Business Central
See Flexible Documents Setup for information on how to set up connection to SharePoint document storage for Qvaba Flexible Documents.