Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

How to get lastSignInDateTime from Azure AD through Postman

$
0
0

I need to fetch lastSignInDateTime from Azure AD through Postman.May I know how I can the fetch the details of the users

I tried with below URL but it's not working for me.https://graph.microsoft.com/v1.0/users?$select=id,signInActivity.

Actually I need to fetch this detail from Azure AD to Saviynt.you can see the JSON I use in below.

{"globalSettings": {"dateFormat": "yyyy-MM-dd'T'HH:mm:ss"    },"accountParams": {"connection": "userAuth","processingType": "SequentialAndIterative","call": {"call1": {"callOrder": 0,"stageNumber": 0,"http": {"url": "https://graph.microsoft.com/v1.0/users?$select=id,signInActivity","httpHeaders": {"Authorization": "${access_token}","Accept": "application/json"                    },"httpContentType": "application/json","httpMethod": "GET"                },"listField": "value","keyField": "accountID","colsToPropsMap": {"accountID": "id~#~char","customproperty60": "signInActivity.lastSignInDateTime~#~char","lastlogondate": "signInActivity.lastSignInDateTime~#~date"                }            }        }    },"entitlementParams": {},"acctEntParams": {}}

Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>