I have enabled Sharepoint for email and storing attachments there. But I want to restrict users to upload any document into SharePoint from Dynamics 365. What is the best way to restrict it, some javascript to hide buttons?
*This post is locked for comments
To use the document management capabilities of SharePoint, you must enable SharePoint integration from the Power Apps Portals admin center.
Open Power Apps Portals admin center.
Go to Set up SharePoint integration > Enable SharePoint integration.
Enable SharePoint integration
Select Enable in the confirmation window. This will enable the portal to communicate with SharePoint. While the SharePoint integration is being enabled, the portal restarts and will be unavailable for a few minutes. A message appears when SharePoint integration is enabled.
When SharePoint integration is enabled, the following action becomes available:
Disable SharePoint integration: Allows you to disable the SharePoint integration with your portal. While the SharePoint integration is being disabled, the portal restarts and will be unavailable for a few minutes. A message appears when SharePoint integration is disabled.
Enabling or disabling the SharePoint integration will update the Azure Active Directory (Azure AD) application for the portal and add or remove the required SharePoint permissions, respectively. You will also be redirected to provide your consent for the changes to be made in the Azure AD application.
If you do not provide your consent:
Enabling or disabling the SharePoint integration will not be complete and an error message will display.
Your out-of-the-box Azure AD login on the portal will not work.
Terrance
SharePoint Migration Expert
Hi Sachin,
You can user security role, give permission for create/update for "document" entity to user.
Hope this helps you!
Hemant
Hi Sachin,
There is no supported way to restrict that. Though you can go through following articles which may help to give few options. but it's unsupported.
https://community.dynamics.com/crm/f/117/t/223095
If found useful, please mark the answer as verified.
Cheers
Arpit
https://arpitmscrmhunt.blogspot.com
I don't think that you can do this on the CRM side.
This is something that you can do with permissions on the SharePoint server.
The buttons in the SharePoint bar are not customizable via Ribbon Workbench or CRM in general.
You might be able to control them in some sort of unsupported manner, but not in any supported way.
Hope this helps.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156