CRM 365(客户关系管理365)是微软提供的客户关系管理解决方案,它允许企业跟踪和管理与客户的互动。审核日志是CRM系统中的一个重要功能,用于记录系统内的各种操作和变更,以便进行审计和分析。
审核日志数据:记录了在CRM系统中发生的重要事件,如创建、更新或删除记录,更改权限,以及登录和注销等操作。
原因:
解决方法:
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"$connections": {
"defaultValue": {},
"type": "Object"
}
},
"triggers": {
"When_a_record_is_created_or_updated_in_Dynamics_365": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['dynamics365forcrm']['connectionId']"
}
},
"method": "get",
"path": "/datasets/@{encodeURIComponent('default')}/tables/@{encodeURIComponent('AuditLogs')}/onupdateditems",
"queries": {
"filter": ""
}
},
"recurrence": {
"frequency": "Minute",
"interval": 3
},
"runtimeConfiguration": {
"concurrency": {
"runs": 1
}
}
}
},
"actions": {
"Export_to_Excel": {
"inputs": {
"body": "@triggerBody()",
"host": {
"connection": {
"name": "@parameters('$connections')['excelonline']['connectionId']"
}
},
"method": "post",
"path": "/v2/workbooks/@{encodeURIComponent('WorkbookID')}/tables/@{encodeURIComponent('TableID')}/rows"
}
}
}
}
}
请注意,以上代码仅为示例,实际使用时需要根据具体情况进行调整。
领取专属 10元无门槛券
手把手带您无忧上云