Skip to main content
Version: 2.50.0

Logging

In the EasyLife application, efficient logging mechanisms are crucial for tracking activities and ensuring compliance. Here, we detail two primary logging methods integral to EasyLife's functionality.

Microsoft 365 Audit Logs

Microsoft 365 Audit Logs serve as a robust tool for comprehensively tracking app and user activities within EasyLife. By leveraging tailored filters for EasyLife 365 apps, customers can effortlessly navigate and review logged activities within their audit logs.

It's important to note that while audit logging is enabled by default for Microsoft 365 organizations, it's advisable to verify the auditing status when setting up a new Microsoft 365 organization. Learn more about audit logs here.

Event Logging

Event logging is another vital component, providing a structured approach to capturing governance activities within our applications. These activities are meticulously recorded in an analytics workspace of your choice, ensuring systematic documentation for future reference and compliance purposes.

info

By default, event logging is disabled. To enable it, navigate to the Logging tab and check the Log events box. Learn more about configuring event logging here.

Viewing Resource Logs

warning

To view logs of resources, ensure correct configuration of event logging in Read Mode.

Once event logging is enabled, governance events are seamlessly forwarded to your configured Application Insight. With data retention in your environment and read mode enabled, you can effortlessly monitor activities performed for a resource within the EasyLife 365 Cockpit. Follow these steps:

  • Visit the manage section for the resource and click on the info button near the resource name.
  • Click on the Logs tab to view all actions taken on this resource.

All event logs are neatly organized chronologically, with the newest entries appearing first.

Template selection

Available Events

The following section outlines all events tracked through the event logging feature, categorized for clarity.

Guest Account Management

Admin Activities

CategoryEventIdDescription
ADMINASSIGN-POLICYAssigns a policy to the resource
ADMINREMOVE-POLICYRemoves a policy from the resource
ADMINASSIGN-TEMPLATEAssigns a template to the resource
ADMINREMOVE-TEMPLATERemoves a template from the resource
ADMINASSIGN-OWNERAssigns an owner to the guest account
ADMINREMOVE-OWNERRemoves an owner from the guest account
ADMINDELETEDeletes a guest account

User Activities

CategoryEventIdDescription
ENGINEINVITEEngine invites a guest on behalf of another user
POLICYSEND-INVITATIONResends an invitation
ACCOUNTDISABLEDisables a guest
ACCOUNTENABLEEnables a guest
ACCOUNTDELETEDeletes a guest
ACCOUNTREMOVE-OWNERAn owner removes another owner from a guest
ACCOUNTCHANGE-OWNERChanges the owner for a guest
ACCOUNTTAKE-OWNERSHIPA user takes over the ownership of a guest
ACCOUNTUPDATE-METADATAUpdates the metadata of a guest
POLICYEXTEND-DISABLEMENTExtends a disabled guest
POLICYCONFIRMConfirms a guest
POLICYEXTEND-INACTIVITYExtends an inactive guest

Engine Activities

CategoryEventIdDescription
ENGINEDELETEDeletes a guest due to an escalation
ENGINEDISABLEDisables a guest due to an escalation

SharePoint Management

Admin Activities
CategoryEventIdDescription
ADMINASSIGN-POLICYAn admin assigns a policy to a site
ADMINREMOVE-POLICYAn admin removes a policy from a site
ADMINASSIGN-TEMPLATEAn admin assigns a template to a site
ADMINREMOVE-TEMPLATEAn admin removes a template from a site
ADMINASSIGN-OWNERAn admin assigns an owner to a site
ADMINREMOVE-OWNERAn admin removes an owner from a site
ADMINUNLINK-SITEUnlinks the SharePoint site and deletes the associated security group
ADMINLINK-SITEThe admin converts a site to an EasyLife managed site and associates a security group
User Activities
CategoryEventIdDescription
POLICYMINIMUMOWNER-COMPLIANTAn owner makes the minimum owner policy compliant
POLICYMINIMUMOWNER-INCOMPLIANTAn owner makes the minimum owner policy incompliant
POLICYASSIGN-TEMPLATEAn owner assigns a template to a site
POLICYEXTEND-EXPIRATIONAn owner makes an expired site compliant
POLICYASSIGN-POLICYAn owner assigns a policy to a site
POLICYCONFIRMAn owner confirms a site
POLICYCOMPLETE-ACESSREVIEWAn owner completes an access review
ACCOUNTDELETEAn owner deletes a SharePoint site with EasyLife
Engine Activities
CategoryEventIdDescription
ENGINEASSOCIATE-GROUP-TO-SITEThe EasyLife Security Group is associated with the site
ENGINESYNC-SITEPermission synchronization is performed between the associated group and site admins
ENGINEDELETEA site is deleted by EasyLife
ENGINEDELETE-SPO-GROUPThe SharePoint Security Group was deleted permanently after 90 days

Groups Management

Admin Activities
CategoryEventIdDescription
ADMINASSIGN-POLICYAn admin assigns a policy to a group
ADMINREMOVE-POLICYAn admin removes a policy from a group
ADMINASSIGN-TEMPLATEAn admin assigns a template to a group
ADMINREMOVE-TEMPLATEAn admin removes a template from a group
ADMINASSIG-NOWNERAn admin assigns an owner to a group
ADMINREMOVE-OWNERAn admin removes an owner from a group
ADMINDELETEAn admin deletes a group
User Activities
CategoryEventIdDescription
ACCOUNTDELETEDeletes a group
ACCOUNTARCHIVE-TEAMArchives a team with EasyLife
ACCOUNTUNARCHIVE-TEAMUnarchives a team with EasyLife
ACCOUNTSTART-ACCESSREVIEWStarts an access review
ACCOUNTCANCEL-ACCESSREVIEWCancells an access review
ACCOUNTCOMPLETE-ACCESSREVIEW-STEPCompletes an access review step
ACCOUNTTAKE-TEAM-CHANNEL-OWNERSHIPTakes over a channel ownership if there are no other owners assigned during an access review
ACCOUNTGET-ACCESSSREVIEWRetrieves the access review
ACCOUNTCOMPLETE-ACCESSREVIEWCompletes the access review
POLICYCONFIRMConfirms a group
POLICYEXTEND-EXPIRATIONExtends a group that is not in use
POLICYASSIGN-TEMPLATEAssigns a target template using a template policy
POLICYASSIGN-POLICYAssigns a target policy using a template policy
POLICYMINIMUMOWNER-COMPLIANTAn owner makes the minimum owner policy compliant
POLICYMINIMUMOWNER-INCOMPLIANTAn owner makes the minimum owner policy incompliant
Engine Activities
CategoryEventIdDescription
ENGINECREATE-GROUPCreates a group on behalf of a user
ENGINECREATE-TEAMCreates a team on behalf of a user
ENGINEARCHIVE-TEAMArchives a team due to an escalation
ENGINEDELETEDeletes a group due to an escalation
ENGINEREMOVE-GUESTSDeletes guests from a group due to an escalation
ENGINEREMOVE-MEMBERS-AND-GUESTSRemoves members and groups due to an escalation

Collected Values

Each event entry contains essential details including ObjectId, DisplayName, Category, EventId, PreviousValue, NextValue, Description, CreatedBy, and Created.

Querying Event Logs

Upon successful connection of your Application Insights and Log Analytics Workspace, you can execute queries on the log analytics workspace to retrieve log information. Below are examples of such queries:

  • Retrieve all logs in chronological order:
AppTraces
| project
EventId = Properties.eventId,
Category = Properties.category,
ResourceId = Properties.resourceId,
Name = Properties.name,
Description = Properties.description,
Actor = Properties.actor,
PreviousValue = Properties.previousValue,
NextValue = Properties.nextValue,
TimeGenerated
| order by TimeGenerated desc
  • Retrieve all events that executed a deletion operation
AppTraces
| project
EventId = Properties.eventId,
Category = Properties.category,
ResourceId = Properties.resourceId,
Name = Properties.name,
Description = Properties.description,
Actor = Properties.actor,
PreviousValue = Properties.previousValue,
NextValue = Properties.nextValue,
TimeGenerated
| where EventId == 'DELETE'
| order by TimeGenerated desc