An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
Hi ,
Thanks for reaching out to Microsoft Q&A.
Face API keys or tokens do not authenticate to the private npm feed. @azure/ai-vision-face-ui is hosted in Azure DevOps Artifacts, which only accepts Azure DevOps credentials. Use an Azure DevOps PAT + user identity. If PAT cannot authenticate, your org or user is not added to the msface ADO feed and Microsoft support must enable it.
Summary of what you really need to do:
- Create a Personal Access Token (PAT) under the ADO org
msface(not your tenant, not your subscription, not Face API) Azure DevOps → User Settings -> Personal Access Token Scopes required: Packaging (Read) - Base64-encode PAT with your ADO user name format: <ado-username>:<PAT> (Convert to base64 and paste into
.npmrc) - Do not use accessToken from the Face endpoint That token only authorizes API calls, not private package feeds.
- You must be whitelisted for the DevOps org Limited Access means Microsoft has granted your tenant access, but your user must still be listed on the ADO feed. If your PAT still fails, request Microsoft to:
- add your Azure AD user/service principal to the DevOps feed
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.