File tree 1 file changed +3
-3
lines changed
src/m365/spo/commands/user
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { Logger } from '../../../../cli/Logger.js';
4
4
import GlobalOptions from '../../../../GlobalOptions.js' ;
5
5
import { spo } from '../../../../utils/spo.js' ;
6
6
import request , { CliRequestOptions } from '../../../../request.js' ;
7
+ import { entraGroup } from '../../../../utils/entraGroup.js' ;
7
8
import { formatting } from '../../../../utils/formatting.js' ;
8
- import { aadGroup } from '../../../../utils/aadGroup.js' ;
9
9
import { validation } from '../../../../utils/validation.js' ;
10
10
import SpoCommand from '../../../base/SpoCommand.js' ;
11
11
import commands from '../../commands.js' ;
@@ -210,11 +210,11 @@ class SpoUserRemoveCommand extends SpoCommand {
210
210
private async getEntraGroup ( webUrl : string , options : GlobalOptions ) : Promise < any > {
211
211
let group : Group ;
212
212
if ( options . entraGroupId ) {
213
- group = await aadGroup . getGroupById ( options . entraGroupId ) ;
213
+ group = await entraGroup . getGroupById ( options . entraGroupId ) ;
214
214
return group ;
215
215
}
216
216
else if ( options . entraGroupName ) {
217
- group = await aadGroup . getGroupByDisplayName ( options . entraGroupName ) ;
217
+ group = await entraGroup . getGroupByDisplayName ( options . entraGroupName ) ;
218
218
return group ;
219
219
}
220
220
You can’t perform that action at this time.
0 commit comments