# Devices

With the built-in Flow Basic Mobile Security Management all connected mobile devices can be overviewed and managed directly in the Studio or via a workflow.\
&#x20;If *Device Management* is enabled for the environment all new devices that tries to log in to the environment need to be approved before the user actually can log in to Flow via a mobile client. In the same way existing devices can be blocked if, for example, a device is lost or replaced.

Devices that are unhandled will have status *New* and an administrator can either *Approve* or *Block* the device. Every time a user logs in from an approved device will the *Last User* field be updated with the latest logged in user.&#x20;

![](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-p-4SlEYVq75TiGAXP%2F-M-p-9JILecoT4SbjpO2%2Fhelp_root_environment_devicemanagement.png?alt=media\&token=fa2b350e-61a0-4fd6-be68-790d4c935479)

Until the device is approved the client user will get the message *This device has yet to be approved by a system administrator*.&#x20;

![](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-p-4SlEYVq75TiGAXP%2F-M-p-BzZOJhfj8hKScC5%2Fhelp_root_environment_NeedToBeApproved.jpg?alt=media\&token=7cac4429-a072-4231-848d-a4addee2253d)

If the device is blocked the client user will get the message *This device has been blocked by a system administrator*.&#x20;

![](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-p-4SlEYVq75TiGAXP%2F-M-p-Ezs3q-ZgAfOIC_l%2Fhelp_root_environment_BlockedDevice.jpg?alt=media\&token=8c2badf7-a3c0-4779-ae09-3f2adce1882c)

#### System event <a href="#system-event" id="system-event"></a>

With the system event *Device Status Changed* it is possible to automate some of the device management and for example alert administrators with an email if a new device is connected.

> Use the Flow environment connector and the functions related to *Device management* to for example approve or block devices via a workflow.

Read more about system events [here](https://home.novacuraflow.com/Help/latest/?help_root_environment_system_events).&#x20;

![](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-p-4SlEYVq75TiGAXP%2F-M-p-IFv-ztbQXkPh4sm%2Fhelp_root_environment_device_system_event.png?alt=media\&token=3d53cfdd-a7ea-480a-9fb2-4168bf840027)

#### Common questions: <a href="#common-questions" id="common-questions"></a>

**How to activate or deactivate device management?**

Menu selection Device will only appear in the menu if device management is activated for the connected Flow server.

* *Go to the Flow server installation folder*
* *Edit the web.config file*
* *Change the value of useDeviceManagement to true if device management should be used and false if device management should be turned off*

**Is device id the IMEI number?**

No, the device id is generated from an OS-specific API made for the purpose.\
Devices with iOS will generate a new device id if the Flow app is reinstalled.
