Microsoft Dynamics 365 — Extraction Guide

Data Extraction Guide
for Microsoft Dynamics 365

Step-by-step instructions for your IT team to extract the required data files from Dynamics 365, Power Platform, and Microsoft Entra ID for the V/ergent security and controls assessment. Includes Release 5 programme packs: 25 AML / Wolfsberg controls + 50 cross-system SoD rules + (SAP-only) 30 SAP-GRC-parity fraud patterns.

24Data Files
8Domains
110+Checks + R5 rules
~45 minEst. Time
All Guides
Quick start

Recommended extraction path

Use the V/ergent extractor first. It writes CSVs to a timestamped folder under C:\Vergent\Export, then you upload that folder into the audit project.

Get extractor
1. Confirm accessUse the read-only role/API scopes listed below.
2. Download with codePaid/active users receive an email code before download.
3. Run locallyPowerShell writes CSV output; V/ergent does not receive credentials.
4. Upload and auditUpload CSVs, confirm file match, then run the audit.
Manual path if automated extraction is blocked

Use the required-file list below as the manual checklist. Keep filenames unchanged, leave unavailable files empty with only headers, and record any missing source in the upload notes before running the audit.

0 Before You Begin
Automated extraction recommended. V/ergent provides a PowerShell script (Extract-VergentD365.ps1) that extracts all 24 files automatically. If your security team permits it, this is the fastest path — see Section 2. Manual export instructions are in Section 3 for environments where scripts are restricted.
Read-only, no changes to your system. All extractions are SELECT / GET operations. V/ergent never writes to Dynamics 365, Entra ID, or Power Platform. The service account or app registration used for extraction should be locked after the assessment is complete.
ComponentRequired PermissionNotes
Dynamics 365
Dataverse/CRM
System Administrator security role Required for audit log, field security, sharing records
Microsoft Entra ID
Azure AD
Global Reader or Security Reader Required for MFA status, conditional access, licensed users
Power Platform
Admin Center
Power Platform Administrator Required for DLP policies, environment settings, flows
Microsoft Graph API
App registration
User.Read.All, UserAuthenticationMethod.Read.All,
Policy.Read.All, AuditLog.Read.All
Optional — for unattended/script extraction
1 Required Files (24 total)

All files are CSV format. The PowerShell script produces these exact filenames. If extracting manually, name your files exactly as shown.

Identity & Access
user_accounts.csv Identity

User Accounts

All Dynamics 365 users: enabled/disabled status, user type (Internal/Guest/Service), license type, last login, created date, business unit

role_assignments.csv Identity

Security Role Assignments

All user ↔ security role mappings: user principal name, role name, role ID, business unit, disabled flag

team_memberships.csv Identity

Team Memberships

D365 team → user assignments: team ID, team name, user ID, user principal name

mfa_status.csv Identity

MFA Registration Status

Entra ID MFA registration per user: isMfaRegistered, isMfaCapable, default MFA method, account enabled

conditional_access.csv Identity

Conditional Access Policies

Entra ID CA policies: policy name, state (enabled/disabled), included applications, grant controls (MFA, compliant device)

licensed_users.csv Identity

Licensed Users

M365 / Dynamics 365 license assignments per user: account enabled, D365 license flag, SKU part number

Field Security
field_security_profiles.csv Field Security

Field Security Profiles

Column-level access profiles: profile name, field name, AllowRead, AllowUpdate, AllowCreate permissions

hierarchy_security.csv Field Security

Hierarchy Security Config

Manager hierarchy security settings: enabled flag, type (Manager/Position), depth (number of levels)

sharing_records.csv Field Security

Record Sharing (POA)

Principal Object Access grants: who has been individually shared a record and what rights (Read/Write/Delete/Append)

Audit & Compliance
audit_log_settings.csv Audit

Audit Log Settings

Per-entity audit enable/disable configuration, global audit switch status, retention period in days

audit_log_entries.csv Audit

Audit Log Entries (sample)

Sample of recent D365 audit log records: operation, entity, user, timestamp, action type

Platform Security
environment_settings.csv Platform

Environment Settings

Power Platform environment configuration: type (Production/Sandbox/Trial), region, sharing settings, backup status

solution_components.csv Platform

Solution Components

Installed solutions: name, managed/unmanaged flag, publisher prefix, environment, version

data_loss_prevention.csv Platform

DLP Policies

Data Loss Prevention policy definitions: connector name, classification (Business/Non-Business/Blocked), environment scope

Integration Security
api_connections.csv Integration

API / OAuth Connections

Power Platform connections to external services: connector name, owner, status, last modified date

connection_references.csv Integration

Connection References

Solution-level connection references: reference name, connector ID, assigned connection ID (blank = orphaned)

flow_permissions.csv Integration

Power Automate Flow Permissions

Flow ownership and sharing: flow name, shared with (user/group/Everyone), permission level (Owner/Run)

plugin_assemblies.csv Integration

Plugin Assemblies

Registered Dataverse plugins: assembly name, version, isolation mode (Sandbox/None), signed flag

Financial Controls
financial_periods.csv Financial

Financial Periods / Ledger

Fiscal calendar periods with open/closed status, start/end dates, period type and quarter

journal_entries.csv Financial

Journal Entries

Manual journal entries (last 90 days): journal number, amount, date, created by, approval status

vendor_master.csv Financial

Vendor Master Data

Vendor accounts: vendor name, account number, status (Active/Inactive), bank account, email

payment_journal.csv Financial

Payment Journal

Payment records (last 90 days): payment ID, amount, date, vendor, currency, status

budget_control.csv Financial

Budget Control Settings

Budget control configuration: status (Active/Inactive/Draft), control mode (Warning/Error), budget models

Org Controls
business_units.csv Org

Business Units

Business unit hierarchy: BU ID, name, parent BU ID, is root, disabled flag, user count, manager ID

Detailed extraction steps require sign-in
The full extraction guide — including SQL queries, transaction codes, PowerShell scripts, and the complete file/table reference — is available to V/ergent customers. The overview above tells you what's involved; sign in to access the operational detail.
Sign in Create account
Already a customer? Sign in here.
Ready to start your D365 assessment?
Upload your extracted files and receive a full Dynamics 365 security report within minutes.
Go to Dashboard
What V/ergent ships for Microsoft Dynamics 365 Finance & Operations (Release 5)

Native coverage: 15 SoD rules in the D365_CONFLICT_MATRIX.

Plus the three Release 5 programme packs that run alongside this platform's audit:

Every finding carries citations across 13 frameworks (COSO 2013, COBIT 2019, NIST CSF 2.0, ISO 27001:2022, CIS v8, SOX ITGC, SOC 2 TSC, PCI DSS v4, HIPAA, DORA, NIS2, GDPR, Kenya DPA) — 11 of 13 at ≥75% mapped coverage. See the Check Packs page for per-pack framework coverage badges.