Questions:
- Will what I have done below mean I will get charged for anything?
- Will this ever expire?
- If yes to either of the above are there other ways to go about achieving a similar goal?
What I've Done:
I have created an app in python that I would like to interface with my outlook account and be able to send emails via the app. To do so I created an account using the free azure plan and did the following.
I followed these instructions to do so (from AI):
Phase 1: Registering the App with Microsoft
First, you have to tell Microsoft your app exists so they can give it an ID card.
- Log into the Microsoft Entra admin center (formerly Azure Active Directory) using your Outlook email.
Navigate to Applications > App registrations in the left sidebar.
Click New registration.
- Give it a name
Under Supported account types, select Accounts in any organizational directory and personal Microsoft accounts (this ensures it works for both work and personal Outlook emails).
Click Register.
Once created, you will be taken to the app's dashboard. Save the Application (client) ID—your Python script will need this later.
Phase 2: Granting Email Permissions
Next, you have to tell Microsoft exactly what this app is allowed to do (i.e., send emails).
On your app's dashboard, go to API permissions on the left.
Click Add a permission -> Microsoft Graph -> Delegated permissions.
Scroll down to Mail and check the box for Mail.Send.
Click Add permissions at the bottom.
Phase 3: Setting Up the Login Bridge
Because this is a desktop app, it needs a way to talk to your web browser for that initial login.
On the left sidebar, click Authentication.
Click Add a platform and select Mobile and desktop applications.
Check the box next to http://localhost. (This tells Microsoft it's safe to send the success token back to your local computer after you log in).
- Click Configure.


Any assistance would be much appreciated :)