Rest API technical profile for Azure AD B2C bad request handle

Hiep To 20 Reputation points
2024-07-18T13:37:55.8+00:00

Hi all,

We're using a Technical Profile to call Rest API in custom policies for Azure AD B2C.

This call sometimes fails due to token change and it's optional to call this to send analytics event, so we would like to handle the Bad request and Ignore the technical profile or Orchestration Step when it's failed. However, it looks like the only way is to return a User error message ( https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/active-directory-b2c/restful-technical-profile.md )

Question: is there any way we catch the exception and skip the technical profile to jump to the next step

Thanks and regards,

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,761 questions
{count} votes