Skip to content

App Protection Policy prevents URL opening in MS Edge when using [.universalLinksOnly] option #61

Description

@rahulVermaSimpplr

Description:
I'm encountering issues with opening URLs in MS Edge in my own application protected with the Intune SDK, which enforces App Protection Policies. To confirm if the issue was specific to my app or the Intune SDK, I tested it with the Intune SDK demo application, and it exhibits the same behavior.

  • Steps to reproduce:

    1. Download and install the Intune SDK demo application.
    2. Apply an App Protection Policy, restricting data transfer to only policy-managed apps.
    3. Attempt to open a URL using UIApplication.shared.open(reqURL, options: [.universalLinksOnly: true]).
  • Observed behavior:
    The app shows a popup stating "Action not allowed," and the URL fails to open in MS Edge, which is also managed by Intune policies.

  • Expected behavior:
    The URL should open in MS Edge if it’s a policy-managed app.

  • Workaround:
    When the options: [.universalLinksOnly: true] parameter is removed, the URL opens in MS Edge without issues.

Since the demo app shows the same behavior, this confirms that the issue lies with the Intune SDK rather than my specific application. Any guidance on resolving this would be appreciated.

Screenshot 2024-11-07 at 12 46 38 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions