Hi @Dave Barrett
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue:
Experiencing issues with client applications failing to retrieve tokens using the v2.0 endpoint (/oauth2/v2.0/token
), resulting in the AADSTS7000229 error, while the legacy v1.0 endpoint (/oauth2/token
) still works. This seems inconsistent across app registrations, even when their configurations are identical, suggesting a potential backend change or issue in Microsoft Entra ID (Azure AD B2C) affecting the client credentials flow.
Solution:
Issue resolved by @Dave Barrett

Still dont understand why some app registrations worked and some didnt (Both using the /v2.0 endpoint... But it seems to work.
When configuring an identity provider for sign-up and sign-in in Azure Active Directory B2C (Azure AD B2C) applications, you must use the correct Azure AD B2C endpoints. Applications and APIs should no longer reference login.microsoftonline.com
for user authentication with Azure AD B2C.
Some customers leverage Microsoft Entra enterprise tenant capabilities, such as acquiring access tokens to call Microsoft Graph APIs for the B2C tenant.
This change does not impact endpoints that do not include a policy parameter in the URL. These endpoints are exclusively accessed via login.microsoftonline.com
and are not compatible with b2clogin.com
or custom domains. For example, the following is a valid Microsoft identity platform token endpoint:
https://login.microsoftonline.com/<tenant-name>.onmicrosoft.com/oauth2/v2.0/token
For more information refer this document: redirect URLs to b2clogin.com for Azure Active Directory B2C
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.