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 :
Customer experience | Sales, Customer Insights,...
Suggested answer

Siteurl cannot be null or emtpy

(0) ShareShare
ReportReport
Posted on by 414

Hello all,

my colleague wants to add documents to a sales opportunity, saving these on the corresponding Sharepoint site. She always runs into the following error.

Siteurl cannot be null or empty. Please ensure valid Sharepoint site is configured or contact your administrator.

Errorcode: 0x80060768

However, the Sharepoint site exists, I can drop doucments without a problem, another colleague can do it, too. The colleague with the error has full rights on the Sharepoint site and the same D365 Sales permissions as I do.

Anyone got a clue, what the problem might be?

Cheers,

Erik

I have the same question (0)
  • Mahendar Pal Profile Picture
    45,095 on at
    RE: Siteurl cannot be null or emtpy

    Hi Erik,

    You can try some possible options

    > Provide this user System Admin right for testing and see if still facing same issue, if not it could be related to the permission issue somehow.

    > Another option is to clean browser cache or try with different browser and see if still facing same issue

    > You can also start developer tool in the browser and check if there is anything reported in the console.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Siteurl cannot be null or emtpy

    Hi Erik,

    1.Compare the security roles held by two users.

    2.Let colleague upload many documents or you try to upload same document from the colleague.

    3.Try to upload documents in other entities.

    4.Go to the Power Apps, Opportunity Main Form, and changed the configurations of the Documents Sub-grid.

    • Table: Documents(Regarding)
    • View: All SharePoint Documents

    5.Re-ran the document management wizard on Opportunity entity.

    6.Open one ticket for Microsoft Support:

     admin.powerplatform.microsoft.com/support

  • Community member Profile Picture
    2 on at
    Siteurl cannot be null or emtpy
    I had the same issue, below one resolved mine.
     

  • Community member Profile Picture
    4 on at
    Siteurl cannot be null or emtpy
    A user has kept getting this when trying to upload documents. As previous answers suggested I validated the site URL (didn't help) then start comparing security roles and turned out one of the role user had doesn't have the privilege to access SharePoint Site but another role has had 'read' and 'append to' rights
     
      

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 149

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 132

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 123 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans