title | description | author | manager | ms.author | ms.custom | ms.date | ms.reviewer | ms.service | ms.topic |
---|---|---|---|---|---|---|---|---|---|
Move a daemon app that calls web APIs to production |
Learn how to move a daemon app that calls web APIs to production |
Dickson-Mwendia |
CelesteDG |
dmwendia |
02/01/2024 |
jmprieur |
identity-platform |
concept-article |
Now that you know how to acquire and use a token for a service-to-service call, learn how to move your app to production.
If you're an ISV creating a daemon application that can run in several tenants, make sure that the tenant admin:
- Provisions a service principal for the application.
- Grants consent to the application.
You'll need to explain to your customers how to perform these operations. For more info, see admin consent.
[!INCLUDE Pre-requisites]
- Reference documentation for:
- Instantiating ConfidentialClientApplication.
- Calling AcquireTokenForClient.
- Other samples/tutorials:
-
microsoft-identity-platform-console-daemon features a small .NET daemon console application that displays the users of a tenant querying Microsoft Graph.
The same sample also illustrates a variation with certificates:
-
microsoft-identity-platform-aspnet-webapp-daemon features an ASP.NET MVC web application that syncs data from Microsoft Graph by using the identity of the application instead of on behalf of a user. This sample also illustrates the admin consent process.
-
Try the quickstart Acquire a token and call Microsoft Graph API from a Java console app using app's identity.
- For more information, see:
- Understanding Configuration
- Instantiating ConfidentialClientApplication
- FAQ
- Other samples/tutorials:
Try the quickstart Acquire a token and call Microsoft Graph API from a Python console app using app's identity.
Here are a few links to help you learn more:
Try the quickstart Acquire a token and call Microsoft Graph API from a .NET console app using app's identity.
Try the quickstart Acquire a token and call Microsoft Graph API from a Java console app using app's identity.
Try the quickstart Acquire a token and call Microsoft Graph API from a Node.js console app using app's identity.
Try the quickstart Acquire a token and call Microsoft Graph API from a Python console app using app's identity.