We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39cc1e1 commit a0da997Copy full SHA for a0da997
1 file changed
extensions/microsoft-authentication/src/AADHelper.ts
@@ -196,6 +196,9 @@ export class AzureActiveDirectoryService {
196
if (!modifiedScopes.includes('email')) {
197
modifiedScopes.push('email');
198
}
199
+ if (!modifiedScopes.includes('profile')) {
200
+ modifiedScopes.push('profile');
201
+ }
202
203
let orderedScopes = modifiedScopes.sort().join(' ');
204
Logger.info(`Getting sessions for the following scopes: ${orderedScopes}`);
@@ -231,6 +234,9 @@ export class AzureActiveDirectoryService {
231
234
if (!scopes.includes('email')) {
232
235
scopes.push('email');
233
236
237
+ if (!scopes.includes('profile')) {
238
+ scopes.push('profile');
239
240
scopes = scopes.sort();
241
const scopeData: IScopeData = {
242
scopes,
0 commit comments