---
title: "Activation using Device Code Flow"
canonical: "https://docs.cuesystem.com/space/TAM/475201559/Activation%20using%20Device%20Code%20Flow"
format: markdown
---
To activate the connection agent using Device Code Flow, click the <span style="color: #0747a6">***ACTIVATE***</span><span style="color: #0747a6">* *</span>button.

> ⚠️ The following steps must be completed within 15 minutes.

![image](media://efe86c9f-db81-4710-93dd-80ccffd65767)

- Copy the unique login code displayed in the window to your clipboard. You can copy it by clicking the <span style="color: #0747a6">***+***</span> button to the right of the code
- Then open [https://microsoft.com/devicelogin](https://microsoft.com/devicelogin) in a new browser tab or click on the corresponding link on the page.

> ℹ️ You can open the login page on any computer or mobile with access to the [http://microsoft.com/devicelogin](http://microsoft.com/devicelogin) site.

- On the Microsoft login page, copy the unique code and click "Next".
- Now you need to <span style="color: #bf2600">**log in**</span><span style="color: #bf2600"> with the account you entered in the connection agent user account settings. </span><span style="color: #bf2600">**Be careful not to use a different account that you usually use to log in to applications and that the browser may offer you.**</span> Click on the user account. If the browser does not offer you this account, select "Use another account" and then enter the user account. If the browser insists on logging in with your standard account, we recommend using the anonymous/InPrivate browser mode to log in.
- In the next window, check or enter the **service account** and click "**Next**".
- Now enter your service account password and click "**Sign in**".
- If this is your **first time logging** in with this account and graph application, you will be prompted in the next window to enable necessary permissions. To grant permission click "Accept".
- Now a window with information about successful login appears. You can now close the Microsoft 365 login tab.
- Now **return to the touchONE-admin web interface** tab and wait a few seconds until you see the information about successful account activation.