Microsoft Identity Manager, Exporting last modified date from metaverse

Stefano B 21 Reputation points
2021-04-08T06:18:40.6+00:00

I have a SQL Server database connected to my metaverse and would like to populate a column in that database with the date when an export runs against one of the records in that database. I can see MIM tracks the last modify date of each attribute of a metaverse object, but am stumped how to simply write to that DB column whenever I have an export for any joined object in that DB.

Anyone done this before in the Sync Service, or is this something I might have to achieve using the MIM Service?

Any other ideas?

Background Info:

  • 1x MIM 2016 SP2 Synchronisation Service
  • Connected SQL Database is SQL Server 2017 Enterprise
  • Projections + Joins work with rows in the database fine

Thanks!
Stefano

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
706 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leo Erlandsson 1,656 Reputation points
    2021-04-08T09:56:25.233+00:00

    Hi,

    If you have a custom SQL Connector, you can modify the connector to always update the column to the current DateTime.

    But perhaps easier - if you have control over the SQL Database, add a trigger that updates the column every time there is an update to the row.
    Then you don't have to involve MIM (unless you want to).

    Br,
    Leo


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.