Step 1: Log in to portal.azure.com using your work-email account.
Step 2: Navigate to App Registration. You can use the search option to find it quickly. Then click New Registration. (Ensure your Microsoft 365 account can register apps. If App Registration is disabled, ask your admin to enable it).
Step 3: Enter a name of your choice for the Application and choose the supported account types: "Accounts in the organizational directory only."
Step 4: Select Web in the Select a Platform field.
Step 5: Specify the Redirect URL as follows:
Step 6: Copy the Client ID and Tenant ID displayed and keep them safe for later use.
Step 7: In the left pane, under Manage > click Certificates & secrets > New client secret.
Step 8: Provide a description for the client secret. In the Expires field, choose the validity of the client secret and add.
Step 9: The client secret will be generated. Copy the string displayed under "Value" and keep it safe for later use.