
Microsoft 365 data via Graph
Microsoft Graph is Microsoft's entry point to Microsoft 365 data, and in Yres the underlying connection for scenarios such as Teams and Office 365. You register one app in Microsoft Entra ID, grant it the Graph permissions your question requires and enter the tenant ID, client ID, client secret and scope. Yres obtains a token with OAuth2, sends it with every request and walks through all pages. The data lands in an Azure SQL database in your own tenant and can be used in Power BI from there.
If you need a single overview from Microsoft 365, an export or a built-in report in the admin center is quicker than an app registration and a data warehouse.
Yres earns its place when Microsoft 365 data has to sit next to other sources on a permanent basis, for example users and groups next to your HR system, refreshed at fixed times without anyone producing exports.
Whatever the Graph endpoints return that your app has rights to. That is the core of this connection: one app registration, and the permissions determine what is readable. Yres does not prescribe permissions; you choose application or delegated permissions that fit your scenario and have an administrator approve them.
Not in the web application. Client ID, client secret, grant type and the address go to the Key Vault of your environment. The refresh token, the scope and the token address are kept in a configuration table in your own data warehouse database, where the process that renews tokens uses them.
The OAuth scope Yres requests a token for. For Microsoft Graph that is, for example, https://graph.microsoft.com/.default. You do not enter the token address yourself: Yres builds it from your tenant ID and shows it as a read-only field.
Graph uses OData conventions and Yres pages through the OData next link, but it is not a plain OData source with Basic sign-in. Since version 1.56 Yres stores Graph as an OData source with OAuth2, so the token is obtained per run and sent along as a header.
Full technical description in the knowledge base →·Last reviewed:
Built for organisations on Azure and Power BI. Yres connects your sources, keeps the history and promotes changes in a controlled way, without manual work.