Skip to main content

Is there a way to get the Modified By username/name from One Drive?

Hi @runneals I think you need to use the Microsoft Graph API and check if that has the desired parameters: https://knowledge.safe.com/questions/76488/connection-to-microsoft-graph-api.html


Hi @runneals I think you need to use the Microsoft Graph API and check if that has the desired parameters: https://knowledge.safe.com/questions/76488/connection-to-microsoft-graph-api.html

I'm using that, but the one drive connector doesn't seem to support it I guess :/


Hi @runneals

 

 

Looks like Graph API does support it: https://developer.microsoft.com/en-us/graph/graph-explorer

 

OneDrive > Recent files > Response Preview

 

 

I would recommend using the HTTPCaller if the OneDriveConnector doesn't support it.
"lastModifiedBy": {
                "user": {
                    "email": "MeganB@M365x214355.onmicrosoft.com",
                    "displayName": "Megan Bowen"
                }
            },

Hi @runneals

 

 

Looks like Graph API does support it: https://developer.microsoft.com/en-us/graph/graph-explorer

 

OneDrive > Recent files > Response Preview

 

 

I would recommend using the HTTPCaller if the OneDriveConnector doesn't support it.
"lastModifiedBy": {
                "user": {
                    "email": "MeganB@M365x214355.onmicrosoft.com",
                    "displayName": "Megan Bowen"
                }
            },

How hard is it to get integrated to the current OneDriveConnector transformer? That would be ideal if all the attributes came through.


@runneals

 

 

We added an option to return the original response of the list request for the List Action in the OneDriveConnector. In the JSON object returned via the new output attribute, you will find the "lastModifiedBy" key.

 

 

This is available in FME 2020 b20177 and higher.


Reply