---
title: "/provisioning/getAccessTokenUsingAuthCodeForB2C"
slug: "provisioninggetaccesstokenusingauthcodeforb2c-1"
updated: 2025-06-17T20:37:14Z
published: 2025-06-17T20:37:19Z
canonical: "kb.connecttoteams.com/provisioninggetaccesstokenusingauthcodeforb2c-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.connecttoteams.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /provisioning/getAccessTokenUsingAuthCodeForB2C

Post/provisioning/getAccessTokenUsingAuthCodeForB2C

Opeartion to retrieve the Access Token from the Microsoft Azure AD using the Authorization code flow for B2C operations. To use this operation - the input payload should have the valid Authorization Code obtained by sending a valid request to the OAUTH endpoint at Microsoft. Please refer to the detailed documentation here: [https://docs.microsoft.com/en-us/graph/auth/](https://docs.microsoft.com/en-us/graph/auth/)

SecurityOAuthFlowPassword Token URL/oauth/token
		

Body parameters<select class='api-response-data' aria-label='Media type'><option value='28322c16-64eb-4a63-9d84-a0e1357d89d7'>application/json</option>
</select>object  clientIDstring    
codestring    
redirectURIstring    
scopes Array of string   string    

Responses200

OK

<select class='api-response-data' aria-label='Media type'><option value='9d9f679e-58b3-4c73-8d46-003415225b83'>*/*</option>
</select>Expand Allobject  authenticationResultobject (AuthenticationResult)  accessTokenstring    
accessTokenTypestring    
expiresAfterinteger  (int64)    
expiresOninteger  (int64)    
expiresOnDatestring  (date-time)    
idTokenstring    
multipleResourceRefreshTokenboolean    
refreshTokenstring    
userInfoobject (UserInfo)  displayableIdstring    
identityProviderstring    
tenantIdstring    

resellerIdinteger  (int64)    
tenantIdstring
