Skip to main content
Solved

OneDriveConnector User Last Modified

  • December 17, 2019
  • 5 replies
  • 14 views

runneals
Contributor
Forum|alt.badge.img+20

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

Best answer by jlutherthomas

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"
                }
            },
View original
Did this help you find an answer to your question?

5 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • December 20, 2019

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


runneals
Contributor
Forum|alt.badge.img+20
  • Author
  • Contributor
  • December 20, 2019
sigtill wrote:

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 :/


Forum|alt.badge.img+2
  • Best Answer
  • December 23, 2019

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"
                }
            },

runneals
Contributor
Forum|alt.badge.img+20
  • Author
  • Contributor
  • December 26, 2019
jlutherthomas wrote:

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.


Forum|alt.badge.img

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings