PART 2 - Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid

Ray Garg 35 Reputation points
2025-01-14T16:29:05.33+00:00

i have already detailed my main problem statement error and solutions ive tried in a detailed icrosoft ask question post here: https://learn.microsoft.com/en-us/answers/questions/2145431/issue-with-azure-ad-b2c-custom-policy-basic-creden?comment=question#newest-question-comment

the person who responded to me, @Sanoop M , immediately suggested that I create an api connector for authentication based on the error i was getting but didnt give any guidance on why or where to use it. see in my rest profiles, rest login-noninteractive apac, and rest fetchuserprofile apac, i am outpytiing a bearer token from the first profile and using it in the second profile, so authentication type is bearer, i dont understand how i would use an api connector in this case. does authentication type still stay as bearer? with api connector it would hav to change to basic. someone please respond to me with the right answer here.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

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.