InvitedBy information in Azure AD Portal or Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-115565%22%20slang%3D%22en-US%22%3EInvitedBy%20information%20in%20Azure%20AD%20Portal%20or%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-115565%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20looking%20for%20an%20%22easy%22%20way%20to%20get%20the%20inviting%26nbsp%3B%22object%22%20(user%2C%20app%2C%20...)%20for%20an%20B2B%20user%26nbsp%3Bobject%20(userType%20-eq%20%22guest%22).%20The%20only%20information%20available%20regarding%20this%20typ%20of%20data%20is%20the%20Azure%20AD%20audit%20logs.%20But%20I%20really%20would%20like%20to%20avoid%20checking%20the%20audit%20log%20for%20the%20specific%20user%20object.%20The%20retention%20period%20and%20also%20the%20delay%20until%20the%20data%20is%20available%20in%20the%20audit%20log%20are%20some%20big%20pain%20points.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20checked%20serveral%20docs%20regarding%20B2B%20invitation%2Fredemption%20but%20without%20luck.%20I%20really%20would%20love%20to%20see%20an%20property%20on%20the%20user%20object%20like%20invitedBy%3AGUIDofINVITINGuser%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fbeta%2Fresources%2Fuser%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fbeta%2Fresources%2Fuser%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%26nbsp%3Bnothing%20in%20the%20beta%20version%20of%20the%20graph.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%20stop%20was%20the%20invitation%20manager%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fbeta%2Fresources%2Finvitation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fgraph%2Fdocs%2Fapi-reference%2Fbeta%2Fresources%2Finvitation%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20no%20luck%2C%20because%20this%20can%20only%20create%20invitations%20and%20not%20enumerate%20pending%20or%20completed%20requests%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20stackoverflow%20question%20with%20a%20similar%20request%20and%20%22negativ%22%20outcome%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F44184587%2Fcheck-redeem-status-of-directory-invitation-through-microsoft-graph%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F44184587%2Fcheck-redeem-status-of-directory-invitation-through-microsoft-graph%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20a%20roadmap%20thing%3F%20Do%20i%20really%20have%20to%20query%20the%20Azure%20AD%20audit%20logs%20that%20are%20also%20not%20available%20in%20the%20MS%20Graph%20API%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-115565%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EB2B%20collaboration%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

I'm looking for an "easy" way to get the inviting "object" (user, app, ...) for an B2B user object (userType -eq "guest"). The only information available regarding this typ of data is the Azure AD audit logs. But I really would like to avoid checking the audit log for the specific user object. The retention period and also the delay until the data is available in the audit log are some big pain points.

 

I've checked serveral docs regarding B2B invitation/redemption but without luck. I really would love to see an property on the user object like invitedBy:GUIDofINVITINGuser

https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/user

But nothing in the beta version of the graph.

 

Next stop was the invitation manager:

https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/invitation

 

Also no luck, because this can only create invitations and not enumerate pending or completed requests :(

 

This is a stackoverflow question with a similar request and "negativ" outcome:

https://stackoverflow.com/questions/44184587/check-redeem-status-of-directory-invitation-through-mic...

 

Is this a roadmap thing? Do i really have to query the Azure AD audit logs that are also not available in the MS Graph API?

 

 

0 Replies