Welcome to the beginner's guide to Entra Authentication. Here we will try to get you up to speed on what you need to know to start executing PowerShell against services protected by Microsoft Entra authentication, such as the Graph API.
Fundamentally, to connect to an API, you need to perform three steps:
- Create an "Application"
- Assign the permissions you want to use
- Configure the Authentication process you want to use
This guide assumes you want to use PowerShell to connect to an API via Entra Authentication. The code examples assume further that you are using the Module EntraAuth for this purpose.
The concepts and guidance also applies to other coding languages - whether you want to connect via PowerShell, Python, Java or C#, the different authentication options and the setup on the Entra side remain the same. Obviously, the code examples will not translate as well.
If you are planning to build a web application or a desktop app for end users however, this guide is probably not ideal.
General Topics
- Creating an Application
- Application vs. Delegate Authentication
- API Permissions and you
- Managing an Application & Troubleshooting logins
Setting up Authentication