Category Archives: Software

Providing ACS permissions for app to access SharePoint

Microsoft retires ACS Let me quote Microsoft just to start (Dec 18, 2023): So, for new development it is strictly recommended to use Azure Registered Apps to access Microsoft 365 resources programmatically. You still need ACS in some cases But, as always, it all is not so simple, as Hopefully, Microsoft will resolve all the […]

Using SharePoint REST API from Python code

Using Microsoft Graph API is a preferred and recommended way to connect to SharePoint Online and other Microsoft 365 resources programmatically from Python code. But if by some reason you are required to use classic SharePoint REST API, here is how it is done. Prerequisites: Using client Id and client secret to access SharePoint REST […]

Search in SharePoint using Microsoft Graph API with application credentials

Microsoft Graph API allows you to work with all the Microsoft 365 content – including search through Exchange e-mail messages, Yammer (Viva Engage) and Teams chat messages and surely OneDrive and SharePoint content (please refer to the original doc). Let me focus on searching in SharePoint Online and OD here but you can use the […]

Using Microsoft Graph Search API as current user

Microsoft Graph API allows you to work with all the Microsoft 365 content – including search through Exchange e-mail messages, Yammer (Viva Engage) and Teams chat messages and surely OneDrive and SharePoint content (please refer to the MS’s original doc). After we got a registered Azure app configured correctly, including Authentication and API permissions provided […]

Authorization to Microsoft Graph: Azure Registered Apps API permissions

Being authenticated to Microsoft 365 tenant means Microsoft 365 knows who is trying to get access. To actually be able read/write or manage resource, your app must be Authorized to this resource. For details – pls refer to MS authorization and Microsoft Graph API permissions. But again, in short in our case that means we […]

Authentication to Microsoft Graph: Azure Registered Apps Certificates and Secrets

Before we can make search call to Microsoft 365 in our code – we need to be authenticated. There are many kinds of authentication flows Microsoft supports. For more details – please refer to Microsoft Identity Platform documentation but in short – there are two kind of authentications – as current user and as daemon […]

Search M365 content from code: use-cases

Why do we need to implement search in our applications? Use-cases for search on behalf of current user Along with the usual ones – where you just need your app to search for some data and bring it to user – there is one different scenario I’d like to share: You need to quickly detect […]

Search m365 SharePoint and Teams content programmatically via MS Graph API

In the articles below I’m sharing my techniques on searching in Microsoft 365 SharePoint and Teams from application using Microsoft Graph API. Specifically I’m covering In two flavors: Index of my articles on the subject: Video tutorials