support for share point configuration and refresh tokens