sync: Auto-sync from ACG-M-L5090 at 2026-03-10 19:11:00
Synced files: - Quote wizard frontend (all components, hooks, types, config) - API updates (config, models, routers, schemas, services) - Client work (bg-builders, gurushow) - Scripts (BGB Lesley termination, CIPP, Datto, migration) - Temp files (Bardach contacts, VWP investigation, misc) - Credentials and session logs - Email service, PHP API, session logs Machine: ACG-M-L5090 Timestamp: 2026-03-10 19:11:00 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
16
scripts/bgb-verify-users.ps1
Normal file
16
scripts/bgb-verify-users.ps1
Normal file
@@ -0,0 +1,16 @@
|
||||
Import-Module Microsoft.Graph.Authentication
|
||||
Import-Module Microsoft.Graph.Users
|
||||
|
||||
# Connect with interactive browser auth
|
||||
Connect-MgGraph -TenantId 'ededa4fb-f6eb-4398-851d-5eb3e11fab27' -Scopes 'User.Read.All','User.ReadWrite.All','Directory.ReadWrite.All' -NoWelcome
|
||||
|
||||
# Find both users
|
||||
$leslie = Get-MgUser -Filter "startsWith(displayName,'Leslie') or startsWith(mail,'leslie')" -Property DisplayName,Mail,UserPrincipalName,AccountEnabled,Id
|
||||
$barry = Get-MgUser -Filter "startsWith(displayName,'Barry') or startsWith(mail,'barry')" -Property DisplayName,Mail,UserPrincipalName,AccountEnabled,Id
|
||||
|
||||
Write-Output '--- Leslie ---'
|
||||
$leslie | Format-List DisplayName,Mail,UserPrincipalName,AccountEnabled,Id
|
||||
Write-Output '--- Barry ---'
|
||||
$barry | Format-List DisplayName,Mail,UserPrincipalName,AccountEnabled,Id
|
||||
|
||||
Disconnect-MgGraph
|
||||
Reference in New Issue
Block a user