Skip to content

Commit a7f0d8c

Browse files
committed
update to entra id
1 parent d10e071 commit a7f0d8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/m365/spo/commands/user/user-remove.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { Logger } from '../../../../cli/Logger.js';
44
import GlobalOptions from '../../../../GlobalOptions.js';
55
import { spo } from '../../../../utils/spo.js';
66
import request, { CliRequestOptions } from '../../../../request.js';
7+
import { entraGroup } from '../../../../utils/entraGroup.js';
78
import { formatting } from '../../../../utils/formatting.js';
8-
import { aadGroup } from '../../../../utils/aadGroup.js';
99
import { validation } from '../../../../utils/validation.js';
1010
import SpoCommand from '../../../base/SpoCommand.js';
1111
import commands from '../../commands.js';
@@ -210,11 +210,11 @@ class SpoUserRemoveCommand extends SpoCommand {
210210
private async getEntraGroup(webUrl: string, options: GlobalOptions): Promise<any> {
211211
let group: Group;
212212
if (options.entraGroupId) {
213-
group = await aadGroup.getGroupById(options.entraGroupId);
213+
group = await entraGroup.getGroupById(options.entraGroupId);
214214
return group;
215215
}
216216
else if (options.entraGroupName) {
217-
group = await aadGroup.getGroupByDisplayName(options.entraGroupName);
217+
group = await entraGroup.getGroupByDisplayName(options.entraGroupName);
218218
return group;
219219
}
220220

0 commit comments

Comments
 (0)