Forum Discussion

lucafabbri365's avatar
lucafabbri365
Brass Contributor
Aug 31, 2020
Solved

SharePoint access from third party application

Hello Community, I'm writing to ask for a question regarding SharePoint Online access from third party application. Basically I have a third party application written in Python (on-premise) needs t...
  • BradD's avatar
    Aug 31, 2020
    Graph is a framework, REST is the method you use to access Graph and although there are other ways to access SharePoint, I’ve found Graph to be the easiest and provides additional functionality that you can use to scale.

    I’ve never done it from Python but even from C#, the Microsoft delivered packages do nothing more than call REST end points.

    If you want to use a service principal, create an application in Azure and assign it the required application (not delegated) roles.

    From there, start exploring the end points by using the documentation. These may help.

    https://docs.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0#sharepoint-api-root-resources

    https://docs.microsoft.com/en-us/graph/auth-v2-service

    https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0

    Good luck!



Resources