At line 2 added 3 lines |
\\ |
More info about Microsft Graph REST API: [https://learn.microsoft.com/en-us/graph/api/resources/onedrive?view=graph-rest-1.0}]\\ |
\\ |
At line 4 removed one line |
__!!!Constraint:__ Microsoft Graph REST API does not support stream upload. In order to integrate with CrushFTP the files are temporarily stored as local files (CrushFTP install folder/sharepoint/) during the upload.\\ |
At line 13 changed one line |
Name it. Select the Multitenant and personal Microsoft accounts type. The redirect URL must ends with register_microsoft_graph_api/. Then click on register.\\ |
Name it. Select the Multitenant and personal Microsoft accounts type. The redirect URL must end with "register_microsoft_graph_api/". Then click on register.\\ |
At line 17 added 4 lines |
{{{ |
http://localhost:9090/register_microsoft_graph_api/ |
}}} |
\\ |
At line 17 changed one line |
Under the redirect URL configuration enable the __Access Token__ to be issued by the authorization endpoint:\\ |
Under the redirect URL enable the __Access Token__ to be issued by the authorization endpoint:\\ |
At line 21 changed one line |
__API permission:__ You must also provide permission for the Microsoft Graph. Go to the Api permission. Click on Add permission, and select Microsoft Graph. |
__API permission:__ You must also provide permission for the Microsoft Graph. Go to the Api permission. Click on Add Permission, and select Microsoft Graph. About __Microsoft Graph Permission__ see more details at [https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http] (it explains Application Permission and Delegated Permission).\\ |
At line 25 changed one line |
It permits a Server to Server Authentication.\\ |
It permits a Server to __server-to-server__ authentication. Add __Files.REadWriteAll__ permission.\\ |
\\ |
At line 28 changed one line |
!!!1.2 Delegated permission:\\ |
Grant __Admin consent__ on the added permission.\\ |
At line 37 added 26 lines |
[attachments|app_permission_admin_consent.png]\\ |
\\ |
__Client id : __ You can find it at Azure portal -> App Registration -> Overview:\\ |
\\ |
[attachments|client_id.png]\\ |
\\ |
__Secret key:__ A new client secret needs to be created as well. Go to the "Certificate & secrets" and generate a new secret key. Click on New client secret.\\ |
\\ |
[attachments|new_secret.png]\\ |
\\ |
[attachments|secret_value.png]\\ |
\\ |
__Authentication related settings:__\\ |
\\ |
__User name:__ Itt must start with "app_permission", then the Client ID separated with tilda.\\ |
{{{ |
app_permission~<<Client ID>> |
}}}\\ |
__Password:__ Client Secret.\\ |
__Tennant:__ The tenant id. Tenant: See your App registration -> Overview -> EndPoints. Based on the App Registration Account type it can be an ID, common, or consumer.\\ |
Provide the SharePoint-specific settings. See under the __1.3.Sharepoint-specific settings.__ ( Link: [https://www.crushftp.com/crush10wiki/Wiki.jsp?page=SharePoint%20Integration#section-SharePoint+Integration-1.3.SharepointSpecificSettings]\\ |
\\ |
[attachments|app_permission_vfs_item.png]\\ |
\\ |
!!!1.2 Delegated Permission:\\ |
\\ |
At line 37 changed one line |
__Secret key :__ A new client secret needs to be created as well. Go to the "Certificate & secrets" and generate a new secret key. Click on New client secret.\\ |
__Secret key:__ A new client secret needs to be created as well. Go to the "Certificate & secrets" and generate a new secret key. Click on New client secret.\\ |
At line 73 added one line |
\\ |
At line 44 changed one line |
__!!! CrushFTP admin page url must match the redirect URL.__ In our example : http://localhost:9090\\ |
__!!! The CrushFTP admin page URL must match the redirect URL.__ In our example : http://localhost:9090\\ |
At line 46 changed one line |
Select SharePoint item type and click on "Get Refresh Token" button. Provide the Client ID and Client Secret Value (not ID, see the screenshot), and Tenant (in almost all cases it is just: common).\\ |
Select the SharePoint item type and click on the "Get Refresh Token" button. Provide the Client ID and Client Secret Value (not ID, see the screenshot), and Tenant (in almost all cases it is just: common).\\ |
At line 50 changed one line |
Click on "OK" button, log in with your azure credentials, allow CrushFTP to have access to your SharePoint files. After that the form will disappear and the username and password will be filled. Done.\\ |
Click on the "OK" button, log in with your Azure credentials, and allow CrushFTP to have access to your SharePoint files. After that the form will disappear and the username and password will be filled. Done.\\ |
At line 54 changed one line |
__Sharepoint specific settings:__\\ |
!!!1.3.Sharepoint-specific settings:__\\ |
At line 58 changed 4 lines |
__Site id__ : The sharepoint domain name.\\ |
__Site Path__ : The path of the SharePoint site. It should start and end with slash.\\ |
__Drive name__ : Each SharePoint site has a document library where the site related files are stored. See [https://support.microsoft.com/en-us/office/what-is-a-document-library-3b5976dd-65cf-4c9e-bf5a-713c10ca2872] Provied it's name\\ |
__Folder__ : Relative path of the document library of the sharepoint site.\\ |
__Site id__ : The SharePoint domain name.\\ |
__Site Path__: The path of the SharePoint site. It should start and end with a slash.\\ |
__Drive name__: Each SharePoint site has a document library where the site-related files are stored. See [https://support.microsoft.com/en-us/office/what-is-a-document-library-3b5976dd-65cf-4c9e-bf5a-713c10ca2872] Provide its name.\\ |
__Folder__: Relative path of the document library of the SharePoint site.\\ |
At line 67 changed one line |
!!! 2. SharePoint REST service API based integration\\ |
!!! 2. SharePoint REST service API-based integration\\ |
At line 71 changed one line |
__!!!Constraint:__ On newer Sharepoint (after 2019) Grant App permission is disabled by default. To enable Custom Application APP Authentication run the following PowerShell commands:\\ |
__!!!Constraint:__ On newer Sharepoint (after 2019) Grant App permission as it is disabled by default. To enable Custom Application APP Authentication run the following PowerShell commands:\\ |
At line 92 changed one line |
__Advantage(Compared with MSGraph API)__: Stream upload supported. There is no temporary stored local file during the upload.\\ |
__Advantage(Compared with MSGraph API Delegated Permission)__: Stream upload supported. There is no temporarily stored local file during the upload.\\ |
At line 95 changed one line |
Navigate and login to SharePoint online site. Got to Register Add-In page by entering the url as: \\ |
Navigate and log in to the SharePoint online site. Got to the Register Add-In page by entering the URL as: \\ |
At line 99 changed one line |
Click Generate button.\\ |
Click the Generate button.\\ |
At line 114 changed one line |
This will redirect to Grant permission page. Enter the __Client ID__(generated earlier), in __AppId__ textbox and click Lookup button.\\ |
This will redirect to the Grant permission page. Enter the __Client ID__(generated earlier), in the __AppId__ textbox and click the Lookup button.\\ |
At line 129 changed 3 lines |
__Site Path__ : The path of the SharePoint site. It should start and end with slash.\\ |
__Drive name__ : Each SharePoint site has document library where the site related files are stored. See [https://support.microsoft.com/en-us/office/what-is-a-document-library-3b5976dd-65cf-4c9e-bf5a-713c10ca2872] Provide its name\\ |
__Folder__ : Relative path of the document library of the sharepoint site.\\ |
__Site Path__: The path of the SharePoint site. It should start and end with a slash.\\ |
__Drive name__: Each SharePoint site has a document library where the site-related files are stored. See [https://support.microsoft.com/en-us/office/what-is-a-document-library-3b5976dd-65cf-4c9e-bf5a-713c10ca2872] Provide its name\\ |
__Folder__: Relative path of the document library of the sharepoint site.\\ |