Managing Azure Connections

FlexNet Manager Suite 2019 R1 (On-Premises Edition)
Connections to Microsoft Azure require three elements:
  • Installation of the Azure Resource Manager (AzureRM) module.
  • An Azure service principal account that is required to have access to Microsoft.Compute/virtualMachines with read permission, or you can use the built-in role Virtual machine contributor.
  • Configure the inventory beacon to make the connection to Azure. You must specify the connection details which can be obtained from Azure Active Directory (which does not have a schedule by default).


To complete this process, your chosen inventory beacon must meet the following requirements, some of which should have been fulfilled when the FlexNet Beacon software was installed:
  • PowerShell 5.1 or later is running on Windows Server 2008 R2 SP1 or later, or Windows 7 SP1 or later; with the PowerShell execution policy set to RemoteSigned.
  • Install the Microsoft Azure Resource Manager module, version 6.8.1 or later.
    • You downloaded this PowerShell module from
    • To install it on your inventory beacon use the command: Install-Module -Name AzureRM -RequiredVersion x.x.x. For example:
      Install-Module -Name AzureRM -RequiredVersion 6.13.1
  • Ensure that the Windows Environment Variable PSModulePath includes the following path:
  • The FlexNet Beacon software installed on the inventory beacon must be release 13.1.1 (shipped with FlexNet Manager Suite 2018 R2) or later.
  • A web browser is installed and enabled on the inventory beacon.
  • You must log onto the inventory beacon, and run FlexNet Beacon, using an account with administrator privileges.
The connection to Azure supports optional use of a proxy.

To configure your first connection to Microsoft Azure

  1. The Microsoft Azure adapter requires a service principal identity to operate. This provides authentication for the Azure resources that can be accessed.
  2. Configure the connection to Azure:
    1. In the FlexNet Beacon interface, select the Inventory Systems page.
    2. To create a new connection, click the down arrow on the right of the New split button, and choose PowerShell.
      Tip: You can also edit a connection you have defined previously, by selecting it from the list of connections and clicking Edit....
    3. In the dialog that appears, complete (or modify) the following required fields:
      • Connection Name: The name you give this inventory connection is also used in the web interface of FlexNet Manager Suite to name the data import task.
      • Source Type: Select Microsoft Azure from this list.
      • Azure Tenant ID: This value is your Directory ID, available from the Properties page in Azure Active Directory.
      • Application ID: Once you have registered your application, this value is displayed next to your applications Display Name in the App registrations page of Azure Active Directory.
      • Application Password: Copy your key's password when you save application key.
        Note: The Application Password can only be copied from Azure Active Directory after saving the application key. It cannot be retrieved later.
    4. If a proxy server is in use between the inventory beacon and Microsoft Azure, also select the Use Proxy check box, and complete the following additional details:
      • Proxy Server: Enter the address of the proxy server using HTTP, HTTPS, or an IP address. Use the format https://ProxyServerURL:PortNumber, http://ProxyServerURL:PortNumber, or IPAddress:PortNumber). If the protocol is omitted, it defaults to http:. If the port number is omitted, it defaults to :80 for http, or 443 for https.
      • Username and Password: If your enterprise is using an authenticated proxy, specify the credentials to access the proxy server you just identified.
    5. Click Test Connection.
      • If a Test connection failed message displays, click OK to close the message, review and correct the connection details, and retest the connection. You cannot save the connection details if the connection test fails. If you cannot get the connection test to succeed, click Cancel to cancel the addition of these connection details, and seek further assistance.
      • If, instead, the inventory beacon can successfully access the Azure APIs using the details supplied, a Test connection succeeded message displays. Click OK to close the message. Click Save to add the connection to (or update it in) the list.
    6. By default, your new Azure connection will not be linked to any schedule, required to regularly import this Azure virtual machine inventory.
      • If there is not already a suitable schedule created for your Azure inventory import, click on Scheduling* from the Data collection group in the navigation bar. Click New... and create the new schedule (see Creating a Data Gathering Schedule).
      • When you have a suitable schedule already defined, click Schedule... to link to the timetable for repeated imports of data from Microsoft Azure (for details, see Scheduling a Connection).