Skip to content

Empty AppID in Excel column - New-DCConditionalAccessPolicyDesignReport - Solved #59

@XtrMnIO

Description

@XtrMnIO

Hi everyone, I noticed that when running New-DCConditionalAccessPolicyDesignReport, the AppID column in the generated Excel file is empty due to an incorrect Microsoft Graph path.

To fix this, go to line 7969 and replace, in C:\Program Files\WindowsPowerShell\Modules\DCToolBox.psm1:

    $Applications = foreach ($Application in $Policy.conditions.applications.AppId) {

with:

    $Applications = foreach ($Application in $Policy.conditions.applications.includeApplications) {

After this change, the report correctly populates the AppID column. Let me know if anyone else has encountered this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions