Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, You need to set up the Microsoft Graph API configurations, You have to create a Free Microsoft 365 Developer Tenant account from here to register your Azure account to get the tenant ID which is later required to send the email. After creating the account, copy the email address to use it to sign up to Azure. 

h

Figure 1:  Create A Free Microsoft 365 Developer Tenant Account

...

Upon creating Microsoft 365 Developer Tenant account, sign up on Azure here using your given Microsoft 365 Developer Tenant email address in the previous step. 

Figure 2: Azure Account Dashboard 


Use the email in the "Administrator" section to sign up for your Azure account and this time you will have full access to it.

...

To register an application go to : Azure Active Directory

...

> App Registrations

...

> New Registration > and do the following:


  • Choose a name for the app
  • Select your support type

...

  • as Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
  • Leave redirect URI blank 
  • Click Register 


Image Added

Figure 3: Registration Of New App Configurations Image Removed


After this you should see in the app's overview you have an "Application (client) ID" and a "Directory (tenant) ID", these two are important so that your Copy these IDs as they will used later to send API call will actually be using your app and your account.


Image Added

Figure 4: Sample App Overview  

Get Client Secret

Next up is to get your client secret.

To do this, from the app's overview page, go to : Certificates and Secrets

...

> New Client Secret

...

and enter a description and

...

expiry date for the client secret

Image Added

Figure 5: Client Secret Settings 

After doing so, you now should have a "value" and "ID", copy paste this "value" somewhere like these values into a Notepad.

Warning
titleClient Secret Value

Make sure you secure this value before leaving or refreshing the page as the value will become hidden afterwards.

...