eightynine
eightynine

Reputation: 127

Get all signed/logged in AD B2C users from Graph API

Is there a Graph API to get all Signed in AD B2C users(Guests/Members). Couldn't find this information in the Graph API docs. Have checked the below links.

Upvotes: 0

Views: 472

Answers (2)

Jas Suri - MSFT
Jas Suri - MSFT

Reputation: 11315

The service is stateless. You cannot determine who is logged in at any given moment, only who logged in in the last X hours through the Sign In logs.

Upvotes: 1

Marc LaFleur
Marc LaFleur

Reputation: 33094

With REST APIs, the concept of "Signed In" isn't really applicable. This is because OAuth and REST are stateless. OAuth Access Tokens expire in a relatively short time (typically 1 hour) and while there is also a Refresh Token, it could be days or months before it is exchanged for a new Access Token.

Upvotes: 1

Related Questions