web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Restrict Document upload in Sharepoint from Dynamics 365

(1) ShareShare
ReportReport
Posted on by

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?

2018_2D00_04_2D00_04_5F00_17_2D00_04_2D00_34.jpg

*This post is locked for comments

I have the same question (0)
  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Restrict Document upload in Sharepoint from Dynamics 365

    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.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at
    RE: Restrict Document upload in Sharepoint from Dynamics 365

    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

    https://social.microsoft.com/Forums/en-US/45c17620-8820-47f1-836e-945234e40cf8/sharepoint-integration-hide-open-sharepoint?forum=crm

    https://social.microsoft.com/Forums/en-US/5b0684b7-4907-49b7-a45b-994545b69fce/hide-document-related-buttons-in-crm-2011?forum=crm


    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

     

  • Suggested answer
    Hemant Kumar Sahu Profile Picture
    1,829 on at
    RE: Restrict Document upload in Sharepoint from Dynamics 365

    Hi Sachin,

    You can user security role, give permission for create/update for "document" entity to user.

    Hope this helps you!

    Hemant

  • Terrance Morgan Profile Picture
    515 on at
    RE: Restrict Document upload in Sharepoint from Dynamics 365

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans