![Outlook search query](https://kumkoniak.com/21.jpg)
![outlook search query outlook search query](https://www.softwarepro.org/blog/wp-content/uploads/2018/01/outlook-imap-folders-1.jpg)
This is convenient, for example, if a user leaves the company and their account is disabled, causing workflows to not run. However, if you select Use Service Principal after you select Provide Client ID and Secret, Tenant ID, you can set the expiration of the token according to your company policy and the scheduled workflows won’t be associated to a single user.
![outlook search query outlook search query](https://cdn.extendoffice.com/images/stories/doc-outlook/enable-query-builder/doc-enable-query-builder-1.png)
You can use the default Alteryx application ( Sign in via Internet Browser) to schedule workflows for up to 6 months. See the Custom API Application Setup section for the information on how to create your own API application. The OAuth method is used for authentication, so you can either use the default Alteryx application via Sign in via Internet Browser or you can provide your own API application via Provide Client ID and Secret, Tenant ID. To use this tool, download it from the Alteryx Community. This tool is not automatically installed with Designer.
![Outlook search query](https://kumkoniak.com/21.jpg)