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

Ray Garg 20 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://zcusa.951200.xyz/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.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,734 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,193 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,855 questions
0 comments No comments
{count} votes

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.