Is it possible in a B2C tenant to make a calendar appointment on behalf of an Entra ID user?

Greg Rubino 0 Reputation points
2024-04-29T14:31:24.0366667+00:00

I have a B2C application where Entra ID users can log in. If they do, and they have an outlook calendar, I would like to be able to have the application make Outlook Calendar appointments on their behalf. Is this possible? It seems only openid and offline_access are the only allowed delegated permissions. Is there a way to connect the B2C app registration to an Entra ID app registration that can have the necessary delegated permissions? Am I thinking about this wrong?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,768 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,760 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,466 Reputation points
    2024-04-30T02:59:46.6466667+00:00

    Hi @Greg Rubino

    This is because your app is registered to authenticate users using user flows/custom policies, which can only be used to request access tokens for delegated web APIs.

    If you want users to log in to your B2C app to call the Graph API, the account type your app supports must be organizational accounts only.

    3fb94b1d-efc5-4b75-9a1e-aac20635732c

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.