Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 30, 2026

Problem

CoE Admin Command Center custom pages (CoE Flows, Environment Variables) fail with AppForbidden error when DLP policies block Dataverse domain (*.crm.dynamics.com) scripts. Custom pages dynamically load JavaScript from the Dataverse environment URL, which strict DLP policies prevent.

Changes

New Documentation

  • docs/troubleshooting/app-forbidden-dlp-error.md - Primary troubleshooting guide covering:

    • Root cause analysis (DLP blocking *.dynamics.com scripts)
    • DLP policy configuration (connector grouping, domain allowlist)
    • Alternative solutions (environment exemption, PowerShell workarounds)
    • Prevention strategies
  • docs/ISSUE-RESPONSE-AppForbidden-DLP.md - Response templates for maintainers with diagnostic questions and escalation criteria

  • docs/ISSUE-RESOLUTION-AppForbidden-CoE-Admin-Command-Center.md - Specific analysis for this issue pattern

Updated Documentation

  • Core Components README: Added DLP domain requirements (*.dynamics.com) to prerequisites and AppForbidden to common issues
  • Troubleshooting guides: Cross-linked new DLP documentation
  • Issue response templates: Indexed new AppForbidden template

Resolution Path

Users encountering this error need to:

  1. Configure DLP policy to allow Dataverse, HTTP with Azure AD, Office 365 Outlook, and Power Automate Management connectors in the same data group
  2. Add *.dynamics.com, *.crm.dynamics.com, *.powerapps.com to domain allowlist (if advanced DLP settings exist)
  3. Or exempt CoE environment from restrictive DLP policies

Workaround: Access flows directly via make.powerautomate.com or PowerShell cmdlets.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/search/issues
    • Triggering command: `/usr/bin/python3 python3 -c
      import json
      import urllib.request
      import urllib.parse

Search for similar issues via GitHub API

query = 'repo:microsoft/coe-starter-kit AppForbidden OR "App forbidden" OR "data loss prevention" OR DLP'
url = f'REDACTED{ur` (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - BUG] App forbidden error while using COE Admin Command Center app</issue_title>
<issue_description>### Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

Getting the App forbidden error in the COE Admin Command Center app while opening the Flows section.
Attached the screenshot for reference.

Image

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.50.8

What app or flow are you having the issue with?

COE Admin Command Center app

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

Open the COE Admin Command Center app.
Open the flows.
Error: App Forbidden

Anything else?

No response</issue_description>

<agent_instructions>Need answer to this error</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Custom agent used: CoE Custom Agent
Specialized agent for triaging and fixing issues in the CoE Starter Kit. Always consult the official CoE docs and the team’s SharePoint notes first, then mine prior GitHub issues and the CoE Common Responses playbook.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 30, 2026 09:13
…error

Co-authored-by: mohamrizwa <220306360+mohamrizwa@users.noreply.github.com>
Co-authored-by: mohamrizwa <220306360+mohamrizwa@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix app forbidden error in COE Admin Command Center app Add troubleshooting documentation for AppForbidden DLP errors in CoE Admin Command Center Jan 30, 2026
Copilot AI requested a review from mohamrizwa January 30, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CoE Starter Kit - BUG] App forbidden error while using COE Admin Command Center app

2 participants