Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
»app_inv_permission.png 64.3 kB 1 05-Dec-2023 05:32 krivacsz
png
»app_permission_admin_consent.p... 85.3 kB 1 05-Dec-2023 05:32 krivacsz
png
»app_permission_vfs_item.png 111.7 kB 3 01-May-2025 02:48 krivacsz
png
»app_reg_new.png 57.5 kB 1 05-Dec-2023 05:32 krivacsz
png
»app_reg_new_success.png 58.7 kB 1 05-Dec-2023 05:32 krivacsz
png
»client_id.png 93.9 kB 1 05-Dec-2023 05:32 krivacsz
png
»ms_graph_app_permission.png 85.0 kB 1 01-May-2025 02:20 krivacsz
png
»new_registration.png 83.3 kB 3 05-Dec-2023 05:32 krivacsz
png
»new_secret.png 81.9 kB 2 05-Dec-2023 05:32 krivacsz
png
»permission_final.png 165.2 kB 1 05-Dec-2023 05:32 krivacsz
png
»permission_microsoft_graph.png 182.9 kB 1 05-Dec-2023 05:32 krivacsz
png
»register_app.png 230.6 kB 1 05-Dec-2023 05:32 krivacsz
png
»remote_item_done.png 92.4 kB 1 05-Dec-2023 05:32 krivacsz
png
»remote_item_settings.png 107.4 kB 2 01-May-2025 05:18 krivacsz
png
»remote_item_sharepoint_specifi... 22.8 kB 1 05-Dec-2023 05:32 krivacsz
png
»secret_value.png 88.6 kB 2 03-May-2025 02:37 krivacsz
png
»sharepoint2_refresh_token_vfs_... 203.1 kB 1 01-May-2025 15:04 krivacsz
png
»sharepoint2_vfs.png 165.8 kB 1 05-Dec-2023 05:32 krivacsz

This page (revision-221) was last changed on 12-May-2025 04:31 by krivacsz

This page was created on 05-Dec-2023 05:32 by krivacsz

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

-
Difference between version and

At line 5 changed one line
__Remote item name:__ Sharepoint\\
Remote item name: __Sharepoint__\\
At line 35 changed one line
This allows server-to-server authentication without user interaction.\\
Application permissions are used when an application runs without a signed-in user, such as in server-to-server connections.\\
At line 37 changed 2 lines
__a.) Files.ReadWrite.All__: To enable access to files across all SharePoint sites, add the __Files.ReadWrite.All__ application permission.\\
Configure API Permissions: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select Application Permission. Search for __Files__ and check the flag Files.ReadWrite.All permission.\\
__a.) Files.ReadWrite.All__: Grants the application read and write access to all files the signed-in user can access, across all user drives and document libraries (including SharePoint sites and OneDrive for Business).\\
This includes the ability to:\\
• List, read, update, create, and delete files and folders\\
• Upload/download documents\\
• Modify file metadata\\
At line 40 changed one line
[OneDriveSetup/ms_graph_app_permission.png]\\
__Configure API Permission__: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select __Application Permission__. Search for __Files__ and check the flag Files.ReadWrite.All permission.\\
At line 42 changed one line
__b.) Sites.FullControl.All__: Grants the application full control over all site collections in the tenant without user interaction.\\
[SharePoint Integration/ms_graph_app_permission.png]\\
At line 47 added 2 lines
__b.) Sites.FullControl.All__: Grants the application full control over all site collections in the tenant without user interaction. ( More info -> [https://learn.microsoft.com/en-us/graph/permissions-reference#sites-permissions])\\
\\
At line 54 added 8 lines
__Configure API Permission__: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select __Application Permission__. Search for __Sites__ and check the flag Sites.FullControl.All permission.\\
\\
__c.) Sites.Selected__: Grants the application no access to SharePoint sites by default. However, you can explicitly grant access to specific sites by using the Microsoft Graph API. More information is available at the following link: [Managing SharePoint Site Access for Applications Using Sites.Selected Permission|CrushTaskExample19].\\
\\
__Configure API Permission__: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select __Application Permission__. Search for __Sites__ and check the flag Sites.Selected permission.\\
\\
[CrushTaskExample19/site_selected_microsoft_graph.png]\\
\\
At line 53 changed one line
__Client id : __ You can find it at Azure portal -> App Registration -> Overview:\\
__Client id__: See at App Registration -> Overview -> Application (client) ID\\
At line 57 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 must be created. Go to Certificates & secrets, and generate a new client secret by clicking on New client secret. Ensure you copy over the __value__ immediately!\\
At line 63 changed one line
__Authentication related settings:__\\
__Sharepoint VFS item configuration:__\\
At line 65 changed 6 lines
__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.\\
Select the __Application Permission__ radio button, then click __Application Permission__. Enter the __Client ID__, __Client Secret__, and __Tenant ID__, then click OK. This will automatically configure the username and password in the VFS item settings. After that, proceed with the SharePoint site-specific configuration.\\
\\
__Tennant:__ See at App Registration -> Overview -> Directory (tenant) ID. Based on the App Registration Account type it can be an ID, common, or consumer.\\
At line 87 added 24 lines
Delegated permissions are used when an application makes API calls as the signed-in user. The app is delegated the user’s permissions and can only access resources that the user is authorized to access.\\
\\
__a.) Files.ReadWrite.All__: Grants the application read and write access to all files the signed-in user can access, across all user drives and document libraries (including SharePoint sites and OneDrive for Business).\\
This includes the ability to:\\
• List, read, update, create, and delete files and folders\\
• Upload/download documents\\
• Modify file metadata\\
\\
__Configure API Permission__: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select __Delegated Permission__. Search for __Files__ and check the flag Files.ReadWrite.All permission.\\
\\
__b.) Sites.FullControl.All__: Grants the application full control over all site collections in the tenant without user interaction. ( More info -> [https://learn.microsoft.com/en-us/graph/permissions-reference#sites-permissions])\\
\\
This permission allows the app to:\\
• Read and write all files in all SharePoint Online site collections\\
• Manage lists, document libraries, subsites, and site permissions\\
• Perform site-level actions across the entire tenant\\
\\
__Configure API Permission__: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select __Delegated Permission__. Search for __Sites__ and check the flag Sites.FullControl.All permission.\\
\\
__c.) Sites.Selected__: Grants the application no access to SharePoint sites by default. However, you can explicitly grant access to specific sites by using the Microsoft Graph API. More information is available at the following link:[Managing SharePoint Site Access for Applications Using Sites.Selected Permission|CrushTaskExample19].\\
\\
__Configure API Permission__: Navigate to API Permissions. Click on Add a permission button. Select __Microsoft Graph__. Then select __Delegated Permission__. Search for __Sites__ and check the flag Sites.Selected permission.\\
\\
\\
At line 114 added 4 lines
Grant __Admin consent__ for the newly added permission.\\
\\
[attachments|app_permission_admin_consent.png]\\
\\
At line 92 changed one line
__!!! The 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, it was: http://localhost:9090 or https://your.crushftp.domain.com/register_microsoft_graph_api/\\
Version Date Modified Size Author Changes ... Change note
221 12-May-2025 04:31 18.487 kB krivacsz to previous
« This page (revision-221) was last changed on 12-May-2025 04:31 by krivacsz
G’day (anonymous guest)
CrushFTP11 | What's New
JSPWiki