Universal Links: Alternate (managed) mode doesn't work

Our app uses enterprise profile and our devices are managed with MDM.
So I'd like to use mode=managed option.

But I don't know how to enable it.
Naturally, just adding ?mode=managed to Associated Domains did not enable universal links.
As described in this documeent, I think that something needs to be set on the MDM side.
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_associated-domains

This mode requires consent from the MDM administrator.

Specifically, what kind of settings should I make with MDM?
Hi Nakim,

Did you get any further with this?

Thank you,
Benjohn
Your MDM system must specify the AssociatedDomainsEnableDirectDownloads property (set to true) when issuing the InstallApplication command. See the documentation of the InstallApplication command attributes for details.

So this is something your MDM vendor will need to implement and provide means of enabling the direct downloads for your app.
Hi @gaste

We don't currently have an MDM vendor, and our devices aren't under MDM control. Do you know what this involves and if it can be done minimally, rather than bringing in a vendor?

I've noticed that it is relatively simple to create a .mobileconfig file using Apple's Configurator (sorry – the forum prevents me providing a link). These files can be simply distributed by email and installed.

I've created such a config and tried to set it up to enable mode=managed, but this hasn't worked (and I can't find any failure messages in sysdiagnose). I don't know if I've just got this wrong, or if it needs signing, or if it needs to be associated with the App somehow?

Our app itself is enterprise signed. We distribute it using AppCentre. We distribute both to internal test devices owned by the company, and also to colleague's personal devices.

Thanks.
Universal Links: Alternate (managed) mode doesn't work
 
 
Q