Who did what?!
Auditing & Security in
Dynamics 365 CE &
the Power Platform
London 6th March 2019 @RamonTebar
https://RamonTebar.net
@RamonTebar
http://www.linkedin.com/in/RamonTebar
Business Applications MVP
Investec Bank (London)
Solution Architect
Why?
• Regulation (GDPR)
• Internal Security
• Collaboration
• Adoption
• Freak Controller
A long Auditing Journey
2003 2019
Dynamics CRM 1.0
Dynamics 365
Customer
Engagement &
Power Platform
Activity Logging
Office 365 Security
and Compliance
Center
Created By /
Modified By
2011
Dynamics CRM 2011
Auditing
out-of-the-box
Created / Modified
Created / Modified
Dynamics 365
Customer Engagement
(CE)
Created / Modified
Custom
App
Dynamics 365 CE
Service Account
Created / Modified
Who is making the change?
Created / Modified
What about this?
Created / Modified
How can we change
Created By and Modified By?
?
Created / Modified
Impersonation
How can we change
Created By and Modified By?
Created / Modified
Impersonation using CallerId
https://github.com/rtebar/Dynamics-
Utils/blob/master/Dynamics.Utils/Dynamics.Utils.Tests/ImpersonateUser.cs
Created / Modified
overriddencreatedon
What about the Created On?
Could we force a change in this
out-of-the-box attribute?
Created / Modified
createdon by overriddencreatedon
https://github.com/rtebar/Dynamics-
Utils/blob/master/Dynamics.Utils/Dynamics.Utils.Tests/ImpersonationByOverRidden.cs
Created / Modified
Created By
Modified By
CallerId
Created On OverriddenCreatedOn
Modified On
? What if we need to run a
data migration and set
Modified On?
Created / Modified
“Plugins!”
Modified On
? What if we need to run a
data migration and set
Modified On?
Created / Modified
CDS Operation Pipeline
Pre
Validation Pre Operation Pos OperationCore Operation
Transaction
Entity[“modifiedon”]=MyValue
Entity[“createdon”]=MyValue
Entity[“modifiedby”]=MyValue
Entity[“createdby”]=MyValue
Stage where you
can register a
Plugin
https://github.com/rtebar/Dynamics-Utils/blob/master/Dynamics.Utils/Dynamics.Utils.Plugins/ImpersonateRecord.cs
D365UG London March 2019 - Auditing and Security in the Dynamics platform
Created / Modified
Created By
Modified By CallerId
Created On OverriddenCreatedOn
Modified On
Client side Server side
N/A
CallerId
Pre-
Operation
Plugin
Created / Modified
Conclusions
Now you can travel in time
It is not what it looks like
CRM 2011 - Auditing out-of-the-box!
CRM 2011 - Auditing out-of-the-box!
Today in v9
• CRM 2011 auditing still has several limitations
• Reads are not registered
• e.g. account records with bank details
• Metadata changes are not registered
• e.g. customisations published in production
unexpectedly
• Huge amount of storage
• Difficult to interrogate and manipulate logs
CRM 2011 - Auditing out-of-the-box!
Scarcity sharpens people’s creativeness
CRM 2011 - Auditing out-of-the-box!
Custom Read Auditing
Entity Form
Web Resource
Azure Application
Insights
Custom Plugin
Retrieve
Retrieve Multiple
Cosmos DB
Custom Metadata Auditing
Custom Plugin
Publish
Publish All
Cosmos DB
• New entity
• Change an
attribute
• Delete a form
• Remove a view
• …
Organization Insights
https://admin.powerplatform.microsoft.com
Organization Insights
https://admin.powerplatform.microsoft.com
Solutions History
Dynamics 365 CE
Office 365 Security
and Compliance
Azure AD SharePoint
Exchange
Flow
PowerApps
Power BI
Teams
Activity Logging
Activity Logging
Enabling Activity Logging in Dynamics 365 CE
Activity Logging
Enabling Activity Logging in Dynamics 365 CE
Activity Logging
https://www.office.com/ => https://protection.office.com
Enabling Audit Search in Security & Compliance Center
Activity Logging
Enabling Audit Search in Security & Compliance Center
Activity Logging
Audit Search in Security & Compliance Center
Activity Logging
Audit Search in Security & Compliance Center
Activity Logging
Audit Search in Security & Compliance Center
Dynamics 365 CE
Office 365 S&C
Power BI
User
Azure
Function
Azure
Queue
Cosmos
DB
Office 365 Management API
Activity Logging
Activity Logging
Some considerations
• Some operations don’t have all information yet (e.g.
ExportToWord)
• Audit log and retained for 90 days
• Available for Production and not Sandbox instances
• An Office 365 Enterprise E3 or E5 subscription is
required
• Dynamics 365 CE events can take up to 30 minutes
to be available in logs results
THANK YOU
FOR ATTENDING!
@RamonTebar
https://RamonTebar.net
http://www.linkedin.com/in/RamonTebar
Questions?

More Related Content

PDF
Understanding Microsoft Dynamics 365 and the Power Platform in 30 Minutes | N...
PPTX
Model-driven apps & Common Data Service for Apps
PPTX
Lead nurturing workflows
PPTX
Dynamics 365 introduction and functional
PDF
Dynamics 365 fall summit 2017 final uploaded
PPTX
Top 5 Microsoft Certifications
PPTX
Ms dynamics 365 First Overview
PDF
Understanding extensibility options for dynamics 365 ce apps
Understanding Microsoft Dynamics 365 and the Power Platform in 30 Minutes | N...
Model-driven apps & Common Data Service for Apps
Lead nurturing workflows
Dynamics 365 introduction and functional
Dynamics 365 fall summit 2017 final uploaded
Top 5 Microsoft Certifications
Ms dynamics 365 First Overview
Understanding extensibility options for dynamics 365 ce apps

What's hot (20)

PPTX
Customer engagement solution architecture and Dynamics 365 Portals
PPTX
Intro to web api with dynamics 365
PDF
Microsoft Dynamics 365 xRM4Legal xRM4Accounting Technical Overview
PPSX
Dynamics 365
PPTX
Developing dynamics 365 reports in dynamics 365
PPTX
Introduction to Microsoft 365 bookings and how to use bookings app in Teams f...
PPTX
eFolder Acquires Cloudfinder: The Next Profit Opportunity
PPTX
Dynamics Day 2016 - Microsoft Dynamics 365 sales and customer service (CRM) ...
PDF
2018 10-17 J1 1B - How to plan your modern workplace project - Ammar Hasayen
PPTX
Power automate and power BI January 22 Baku
PPTX
Connecting Salesforce CRM to OpenText Exstream
PPTX
SharePoint Online vs On-premises vs Hybrid – 2016 edition
PDF
O365Con18 - Good to Great SharePoint Governance - Eric Riz
PDF
Microsoft Office 365-Adoption, FastTrack and FastTrack Center
PDF
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
PPTX
CGI-IgniteChicago
PPTX
Crm saturday madrid 2017 razwan - d365 solution release management
PDF
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
PPTX
Back Office Productivity with SharePoint
PPTX
Email Integration for Oracle Fusion CRM and CRM On Demand
Customer engagement solution architecture and Dynamics 365 Portals
Intro to web api with dynamics 365
Microsoft Dynamics 365 xRM4Legal xRM4Accounting Technical Overview
Dynamics 365
Developing dynamics 365 reports in dynamics 365
Introduction to Microsoft 365 bookings and how to use bookings app in Teams f...
eFolder Acquires Cloudfinder: The Next Profit Opportunity
Dynamics Day 2016 - Microsoft Dynamics 365 sales and customer service (CRM) ...
2018 10-17 J1 1B - How to plan your modern workplace project - Ammar Hasayen
Power automate and power BI January 22 Baku
Connecting Salesforce CRM to OpenText Exstream
SharePoint Online vs On-premises vs Hybrid – 2016 edition
O365Con18 - Good to Great SharePoint Governance - Eric Riz
Microsoft Office 365-Adoption, FastTrack and FastTrack Center
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
CGI-IgniteChicago
Crm saturday madrid 2017 razwan - d365 solution release management
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
Back Office Productivity with SharePoint
Email Integration for Oracle Fusion CRM and CRM On Demand
Ad

Similar to D365UG London March 2019 - Auditing and Security in the Dynamics platform (20)

PPTX
365 Saturday Milan 2019 - Who did what? Data security and auditing in Dynamic...
PDF
IEEE-SCCPresentation.290214544
PPTX
Trigent SharePoint expertise
PPTX
SharePoint 2013 Admin in the Hybrid World
PDF
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
PDF
K2 - Driving SharePoint Adoption and ROI with Apps and Mashups
PDF
GraphSummit - Process Tempo - Build Graph Applications.pdf
PPTX
Microsoft power platform
PPTX
What Makes Migrating to the Cloud Different Than On-Premises
PPT
Financial Services Component Library
PDF
Age of Exploration: How to Achieve Enterprise-Wide Discovery
PDF
Ensure a Successful SAP Hybris Implementation – Part 2: Architecture and Buil...
PDF
Customer insights in an hour - AI & Chatbot Saturday
PDF
30 March 2017 - Vuzion Ireland Love Cloud
PPTX
Cloud Analytics for E-Business Suite
PPT
adopt_soa.94145841
PPTX
SharePoint Online vs. On-Premise
PPTX
SharePoint Server 2016 - Lets get ready - Wisconsin SharePoint User Group
PDF
Engage 2013 - Flexible Data Access with APIs
PPTX
SPS Vancouver 2018 - What is CDM and CDS
365 Saturday Milan 2019 - Who did what? Data security and auditing in Dynamic...
IEEE-SCCPresentation.290214544
Trigent SharePoint expertise
SharePoint 2013 Admin in the Hybrid World
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
K2 - Driving SharePoint Adoption and ROI with Apps and Mashups
GraphSummit - Process Tempo - Build Graph Applications.pdf
Microsoft power platform
What Makes Migrating to the Cloud Different Than On-Premises
Financial Services Component Library
Age of Exploration: How to Achieve Enterprise-Wide Discovery
Ensure a Successful SAP Hybris Implementation – Part 2: Architecture and Buil...
Customer insights in an hour - AI & Chatbot Saturday
30 March 2017 - Vuzion Ireland Love Cloud
Cloud Analytics for E-Business Suite
adopt_soa.94145841
SharePoint Online vs. On-Premise
SharePoint Server 2016 - Lets get ready - Wisconsin SharePoint User Group
Engage 2013 - Flexible Data Access with APIs
SPS Vancouver 2018 - What is CDM and CDS
Ad

More from Ramon Tebar (8)

PPTX
Dynamics 365 and Power Platform icons
PDF
Power Apps Portals at Maraton Virtual July 2020
PPTX
Integrating Power Apps Portals with Stripe
PPTX
The Power Custodians - 365 Saturday Barcelona October 2019
PPTX
D365UG Virtual Camp May 19 - New Microsoft Flow features
PPTX
Dynamics 365 Saturday - London 2018 - New Features and Deprecations with Dyna...
PPTX
CRMUG Summit EMEA 2017 - CRM & AX Rock Together - Presentation
PPTX
CRMUG Summit EMEA 2017 - CRM & AX Rock Together - Demo
Dynamics 365 and Power Platform icons
Power Apps Portals at Maraton Virtual July 2020
Integrating Power Apps Portals with Stripe
The Power Custodians - 365 Saturday Barcelona October 2019
D365UG Virtual Camp May 19 - New Microsoft Flow features
Dynamics 365 Saturday - London 2018 - New Features and Deprecations with Dyna...
CRMUG Summit EMEA 2017 - CRM & AX Rock Together - Presentation
CRMUG Summit EMEA 2017 - CRM & AX Rock Together - Demo

Recently uploaded (20)

PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Five Habits of High-Impact Board Members
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Getting Started with Data Integration: FME Form 101
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPT
Geologic Time for studying geology for geologist
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
Modernising the Digital Integration Hub
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPT
What is a Computer? Input Devices /output devices
DOCX
search engine optimization ppt fir known well about this
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Unlock new opportunities with location data.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Five Habits of High-Impact Board Members
Univ-Connecticut-ChatGPT-Presentaion.pdf
Enhancing emotion recognition model for a student engagement use case through...
Assigned Numbers - 2025 - Bluetooth® Document
1 - Historical Antecedents, Social Consideration.pdf
WOOl fibre morphology and structure.pdf for textiles
Getting Started with Data Integration: FME Form 101
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Geologic Time for studying geology for geologist
Zenith AI: Advanced Artificial Intelligence
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Modernising the Digital Integration Hub
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
What is a Computer? Input Devices /output devices
search engine optimization ppt fir known well about this
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Unlock new opportunities with location data.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network

D365UG London March 2019 - Auditing and Security in the Dynamics platform

Editor's Notes

  • #32: A unified audit log: https://docs.microsoft.com/en-us/office365/securitycompliance/search-the-audit-log-in-security-and-compliance?redirectSourcePath=%252fen-gb%252farticle%252fsearch-the-audit-log-in-the-office-365-security-compliance-center-0d4d0f35-390b-4518-800e-0c7ec95e946c
  • #33: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/enable-use-comprehensive-auditing
  • #34: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/enable-use-comprehensive-auditing
  • #40: A unified audit log: https://docs.microsoft.com/en-us/office365/securitycompliance/search-the-audit-log-in-security-and-compliance?redirectSourcePath=%252fen-gb%252farticle%252fsearch-the-audit-log-in-the-office-365-security-compliance-center-0d4d0f35-390b-4518-800e-0c7ec95e946c