none
Where to add Sharepoint csom dlls in Azure. RRS feed

  • Question

  • Hi All,

    Can any one let me know where to add "Microsoft.SharePoint.Client.dll"  and "Microsoft.SharePoint.Client.Runtime.dll" in Azure.

    I am getting error when I give local path in Azure. C:\Program
    Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll'

    Thank you,

    Sowjanya.


    Monday, October 7, 2019 4:39 PM

All replies

  • Hi

    What do you mean by in Azure?

    Where do you develop your solution? In a Azure VM?

    If so, you need to install SharePoint 2016 so that you can refer that file path.


    Justin Liu Office Apps & Services MVP, MCSE
    Senior Software Engineer
    Learn Microsoft 365 from Microsoft DOCs now!
    Please Vote and Mark as Answer if it helps you.

    Tuesday, October 8, 2019 1:28 AM
  • Hi Sowjanya,

    Please upload the required assembly files, using Kudu tool. From the app settings page, select advanced tools under development tools and click on go. The tools page will be opened. Under debug console, select PowerShell. Navigate to the appropriate function under wwwroot folder. Create the bin folder and upload the necessary files. 

    The following article for your reference.

    How To Create Azure Function App To Delete SharePoint Online List Using CSOM

    Best Regards,

    Dennis


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Tuesday, October 8, 2019 1:55 AM
    Moderator
  • Hi Sowjanya,

    Any update?

    If my reply help you, please mark the reply as answer, it will make others who stuck with the similar issue easier to search for valid solutions in this forum.

    Best regards,
    Dennis


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, October 14, 2019 9:09 AM
    Moderator