Is possibile to deploy azure ad-b2c with terraform using service principal?

Hi,
i’m trying to deploy via Azure DevOps an Azure AD-B2C resource using a terraform module.
As a Service Connection i’m using a service principal to allow my pipeline to deploy the terraform resource in my tenant.
But unfortunately i’m having 401 " You do not have permission to view this directory or page." error during apply phase even if i’ve given high privilages to the service principal.

Do you know if it’s possibile to deploy Azure AD-B2C resource using a service principal in terraform?
Thanks