Skip to content

Impersonation unavailable in on-premises environments #418

@jayuu539

Description

@jayuu539

Prerequisites

  • I have searched the existing issues and found no duplicates

Issue Type

Bug Report

Description

In an on-premises environment, the add-on sends the request to check for impersonation privilege to an incorrect URL in server host root directory instead of full client URL as delivered by Xrm.Utility.getGlobalContext().getClientUrl(). This makes impersonation unavailable (in both Chrome and Edge) - please refer to provided screenshots.

Steps to Reproduce (for bugs)

  1. Log in as system administrator to an on-premises environment with several organizations
  2. Try to use impersonation in the add-on

Expected Behavior

Impersonation works for eligible users

Browser

Edge

Operating System

Windows

Dynamics 365 / Power Apps Version

Microsoft Dynamics 365 9.1.0005.0025

Admin Status

Admin

Deployment Type

On-Premise

App Type

Model Driven App

Entity Name

No response

Additional Context

No response

Screenshots / Recordings

Image Image

Screenshots made with Edge

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions