Skip to content

Get-UnifiedEnvironment - Issue with App Registration Login #95

@avaripsam

Description

@avaripsam

Hi. Currently I have an issue with using the Get-UnifiedEnvironment function with an AppRegistration access. When I run the command with my appreg I get:

Image

When I run the same command with my admin account it works:

Image

The AppReg has API permissions for ERP, CRM, Power Platform API, PowerApps Service and PowerApps-Advisor with Admin Consent. The appreg has the Power Platform Administrator role in Entra Id, too. The appreg is added with New-PowerAppManagementApp generally to the dataverse and is set as an Application User on the environment. I also set it in D365 F&O in Microsoft Entra ID applications

The diffrence seems to be that the AppReg cannot get the data for FinOppsApp. But I have no clue why. Am I missing something? Or is this a general issue? Thanks

@Splaxi @FH-Inway

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