Share via

Unable list UserFlow ID in Graph Explorer

Connie Chang 30 Reputation points
2024-07-29T03:20:45.9266667+00:00

I am trying to disable External Tenant External Identities Signin User Flow's Create Account Field. I received AADB2C error code when i use Microsoft Graph Explorer to list User Flow ID. I had used an admin account with global admin, External ID User Flow admin, given consent to IdentityUserFlowReadWrite and EventListenerReadWrite.

The error message given was as follows. Please assist.

"Unauthorized. Access to this Api requires feature: 'EnableMsGraphAuthenticationEventListener' for the tenant: 'xxxxxxxxxxx'." 
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Graph

Answer accepted by question author

Gudivada Adi Navya Sri 21,095 Reputation points Moderator
2024-07-30T06:14:58.4933333+00:00

Hi @Connie Chang

Thank you for posting this in Microsoft Q&A.

1.The authenticationEventsFlows API is supported only in the global service national cloud and is not supported in US Government L4, US Government L5 (DOD), or China operated by 21Vianet.

2.The permissions EventListener.Read.All and EventListener.ReadWrite.All are required but not supported in personal Microsoft accounts.

3.The least privileged role required to execute an API.

  • External ID User Flow Administrator
  • External Identity Provider Administrator

Based on the information provided, it appears you have the necessary permissions, such as EventListener.Read.All and EventListener.ReadWrite.All, and possess a global admin account. Could you please confirm which type of national cloud you are using and whether it is a work or personal account?

I have replicated the issue in my environment, and it has run successfully as below.

List all user flows

User's image

List user flow associated with specific application ID

User's image

If you are still experiencing issues after following the steps mentioned above, please send us an email on azcommunity [at] microsoft [dot] com with Sub - "ATTN: Navya" and following details in the email body: Link to this thread/post. We can connect offline and discuss further on this.

Hope this helps. Do let us know if you any further queries.

Thanks,

Navya.

If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,456 Reputation points
    2024-07-29T07:02:29.78+00:00

    Hi @Connie Chang

    If your AADB2C user has "Global Administrator" and "IdentityUserFlow.ReadWrite.All" delegated permissions, then you should be able to list the user flows in the B2C tenant.

    Please try calling the API endpoint below. Based on my tests, it works well.

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.