User sign up flow in Entra ID not accepting the response from another HTTP function

subrat kumar sahu 20 Reputation points
2024-08-24T06:53:05.5566667+00:00

Hi,

We have one User signup flow form in Microsoft Entra ID, The form has some basic details of user, after entering the basic details, user has to click on next button. When user clicks on next button, it calls another Azure function. In side this Caller function there is some code written to access some REST API. These REST API id hosted in Azure as a App service. The call to REST API is successful and it is sending back 200 OK response to the caller function.

Once the caller function gets response back from the REST API, it then sends response back to the User sign-up flow program.

even though all internal logic or program is executed successfully, but the user sign up program all the time throwing error as "Something went wrong please check with your administrator.

Please find below some important details regarding the entire process:

The caller function sending below response to the user sign up flow program:

{"data":{"@odata.type":"microsoft.graph.onAttributeCollectionSubmitResponseData","actions":[{"@odata.type":"microsoft.graph.attributeCollectionSubmit.continueWithDefaultBehavior"}]}}

Is the above response is correct?

As the user sign up is throwing error, the registration process is not getting completed for the end user.

Can you please help me what is missing here.

I need your help on this badly. It is badly impacting my deliverable.

Hope a quick response.

Thanks,

Subrat

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,266 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pinaki Ghatak 3,830 Reputation points Microsoft Employee
    2024-08-26T08:10:36.2433333+00:00

    Hello @subrat kumar sahu

    Based on the information you have provided, it seems that the issue might be with the response format that the caller function is sending back to the user sign-up flow program. The response format that you have mentioned

    {data:{@odata.type:microsoft.graph.onAttributeCollectionSubmitResponseData,actions:[{@odata.type:microsoft.graph.attributeCollectionSubmit.continueWithDefaultBehavior}]}}

    seems to be correct. However, it is possible that there might be some other issue with the response that is causing the user sign-up flow program to throw an error.

    To further investigate the issue, I would suggest you to check the logs of the user sign-up flow program and see if there are any specific error messages that might give you a clue about the issue.

    Additionally, you can also try to test the REST API separately to ensure that it is working as expected. If you are still facing issues, please provide me with more information about the error message that you are seeing in the user sign-up flow program and any other relevant details.


0 additional answers

Sort by: Most helpful

Your answer

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