Skip to main content

Part 3: Setting up the Portal App

What

The configuration of yourYour Windows MDM integration will all be driven byuses an application that you yourself create in the Microsoft Entra Portal.admin center.

When/Why

This application isconnects Windows Autopilot enrollment, the linchpinscoped thatMicrosoft tiesEntra yourusers, devices (in AutoPilot), through your user accounts (the group associated withand the app),MDM intodiscovery redirection to your FileWave MDM server.  Detailed setup steps follow.

How

Add the Entra ID account in FileWave
  1. Open your FileWave AnyWhereAnywhere (Web Admin) page and navigate to sourcesSources.

  2. Click the Microsoft tab.

  3. Click on New account, and you should see the following form:

Add Azure Account.png

Keep this form open for completion in later steps.

Configuring Microsoft Entra ID

Creating an MDM application

To enable MDM enrollment, first, you need to configure your Microsoft Entra ID to recognize your FileWave server as your MDM.

  1. Go to your Microsoft Entra ID portal: https://entra.microsoft.com

  2. From Home, navigate to Entra ID → Mobility and then click Add application.

  3. Select Create your own application, give it a name and alogo log,if needed, and click Create.

Screenshot 2025-09-09 at 9.56.03 AM.png

Configuring your MDM application
  1. You will now be prompted to configure MDM user scope:

    1. MDM user scope: This is where you indicate which users can enroll their devices using this MDM application. You can either choose: 

      1. All: Force all users to use this MDM application. (Preferred)

      2. Some: You can select user groups that are allowed to use this MDM application to enroll their devices. If you do use this, then you will need to make sure that you make a Group to restrict this, and add all of the users who will have their devices managed by MDM in that same group. 

    2. MDM terms of use URL:

      Copy the value from the form you opened up in FileWave AnyWhereAnywhere (Web Admin) earlier.

    3. MDM discovery URL:

      Copy the value from the form you opened up in FileWave AnyWhereAnywhere (Web Admin) earlier.

ItIf another MDM service, such as Microsoft Intune, is veryalso important that if you have another solution in place, like InTune, you make sure that youconfigured, do not havescope the same users to both InTuneIntune MDM and FileWave enabledWindows MDM. A device should only enroll into one Windows MDM service. If the same user is scoped to two MDM services, enrollment can fail with a permissions or enrollment error. To test FileWave enrollment, set the competing MDM user scope to None for the sameaffected users.users, Youwait maya get an error about not having permission to enroll devices. You can test this by disabling the Intune MDM (or another vendor) in Microsoft Entra by setting it to None, waiting 5few minutes, and thenretry you will be able to enroll using FileWave.enrollment.

Think about which MDM solution you want to use for your different users in your environment. A single device can only really be in a single MDM. You can still enroll ina Windows device into Intune for MDM and install the FileWave agent,Client separately, but Windows MDM profiles would then come from Intune, not FileWave. Decide which MDM service owns Windows MDM enrollment for instance,each butuser thengroup youbefore could only push Windows Profiles from Intune. Everything else would work just fine in FileWave for those devices.rollout. 

Integrating FileWave and Microsoft Entra

After configuring your MDM application, on the same page, click on the small link that reads: Create MDM application settings.

Screenshot 2025-09-09 at 10.12.26 AM.png

You should see the following page:

Screenshot 2025-09-09 at 10.15.12 AM.png

From here there are only few steps left!

  1. Copy the Application (client) ID and Directory (tenant) ID from this page and paste itthem ininto the Microsoft Entra Account form in FileWave AnyWhereAnywhere (Web Admin), (which you kept open from earlier)earlier.

  2. The Application ID URI value in your MDM app (inmust match the FileWave server URL that Windows devices will use. In Microsoft Entra ID) must match your FileWave server URL, to fix that,ID, go to Expose an API on the left side, and edit the URLURI. there.Use Theyour URLcustomer-owned shouldFileWave beserver likehostname, such as https://mdm.example.filewave.net,org, replacing thatit with your server's DNS name.

    Microsoft requires the hostname used in a single-tenant Application ID URI to be in the tenant's initial onmicrosoft.com domain or in a verified custom domain. FileWave-hosted filewave.net hostnames are owned by FileWave and cannot be verified in the customer's Microsoft Entra tenant. Hosted customers should use a customer-owned custom hostname for Windows MDM and follow FileWave-hosted custom-domain SSL guidance if they need FileWave Support to configure the hosted-server certificate.

    Screenshot 2025-09-09 at 10.20.33 AM.png


  3. Go back to the Microsoft Entra account form in your FileWave AnyWhereAnywhere (Web Admin), and download the FileWave certificate.

  4. Once you have the certificate, go back to the Microsoft Entra ID portal, navigate to Certificates & secrets > Certificates and upload your certificate to your Microsoft Entra MDM application there.


    Screenshot 2025-09-09 at 10.22.41 AM.png


     

  5. OnceAfter the Certificatecertificate is uploaded, wait couplea offew seconds, then go backreturn to FileWave AnyWhere (Web Admin), in the already open Microsoft Entra account form in FileWave Anywhere (Web Admin) and click on Check Status button..

  6. As soon as you see the green light, go ahead and save your Microsoft Entra account.

    Screenshot 2025-09-09 at 10.24.47 AM.png

You are now ready to enroll a device ininto toFileWave Windows MDM.

Application tenant or consent messages

You may see a message similar to below:

  • AADSTS500011 – The resource principal named [URI] was not found in the tenant named [guid]. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.

If you’re trying to log in from an application that doesn’t support user consent flow or you’re unable to use it otherwise, you can use the same special login URL crafting trick that I proposed in my article for resolving consent-related issues when getting error AADSTS650001, and create a URL like this:

If the application requires admin consent, you may replace "consent" with "admin_consent".