public function getAccessTokenByAuthCode($authorizationCode)
{
$grantType = 'authorization_code';
$resource = self::URL_CORE_WINDOWS . '/';
$this->accessToken = $this->getToken($grantType, $resource, null, $authorizationCode);
$this->environment->keychain(\SERVER_PLATFORMS::AZURE)->properties->saveSettings([CloudCredentialsProperty::AZURE_ACCESS_TOKEN => $this->accessToken->token, CloudCredentialsProperty::AZURE_ACCESS_TOKEN_EXPIRE => $this->accessToken->expireDate]);
return $this->accessToken;
}