# Microsoft 365 Automation

Due to changes in the Microsoft 365 security services architecture (starting with the 1st of October 2022), basic authentication (user/password) will no longer be accepted for authentication on their platform. For more information please check <https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online>

This means that TAP Studio actions that could be used to access these services (like Get Email Messages - IMAP) will no longer work. Fortunately, TAP now offers dedicated actions for 365 automations.

In order for TAP to authenticate against Microsoft 365 services, it requires an application to be added within the Azure Active Directory platform (for your tenant). Subsequent API permissions must the be added to this respective application, specific to your automation requirements (accessing user information, email automation, etc.). For detailed information on specific API permissions required, please check the dedicated Microsoft 365 Automation actions.

After adding this application within the Active Directory, users accounts will need to consent to it, acknowledging they accept to grant these permissions to the application. Please note that the application itself is an abstract entity and does not "run" effectively in the cloud but is rather used for storing permissions and metadata.

For more information on application consent, please visit <https://learn.microsoft.com/en-us/azure/active-directory/develop/application-consent-experience>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tailent.com/microsoft-365-automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
