Your first ten minutes with User Manager
- Install the Benchdog User Manager desktop app, which brings the
benchdogcommand with it. - Click Sign in with browser, or turn on Use az login in Settings if you already use the Azure CLI.
- Type a few letters in the search box, or the start of a department, and pick a user to open them.
- Change a field, see it marked, and press Save; Benchdog asks first and writes only what you changed.
- Open the History tab to see every change made to the user, wherever it was made.
- In a terminal, run
benchdog users show you@yourcompany.comto see the same profile from the command line.
How to, before you buy, and when something goes wrong
How do I
How do I find a user?
Type in the search box. It matches the start of any word in the name, mail address or user name, so murr finds Simon Murrell and develop finds BrandQuantum Development. The list is read again once you stop typing. The department box matches the start of the department in any case, so dev finds Development. The list shows 50 users at a time; Load more reads the next 50.
At the command line, benchdog users list --search murr or benchdog users list --department dev. Add --all to read every page.
How do I add a new user?
Press + beside the search box, or User, New user (Ctrl+N). Type the display name and the user principal name, on a domain your tenant has verified, and the rest if you like, then Create. Benchdog makes the user enabled, with a one-time password they must change when they first sign in, and shows it once, with Copy. Give it to them in a safe way; Benchdog does not keep it. The new user opens straight away, ready for their manager, photo and groups.
At the command line, benchdog users new --name "Eve Evans" --upn eve@contoso.com --usage-location GB prints the one-time password on its own, or --copy puts it on the clipboard instead.
How do I change a user's job title, department or phone number?
Open the user and type in the field's box. The field is tagged as changed, and flagged when the value is longer than Entra ID takes. Press Save (or Ctrl+S), check the question that lists the fields, and say Yes. Only the fields you changed are sent. Undo changes puts every box back as it was read.
At the command line, benchdog users set ann@contoso.com jobTitle="Sales Director" department=Sales changes both at once. An empty value, such as officeLocation=, clears the field. benchdog users fields lists every field name.
How do I change extension attributes?
Open the user. Extension attributes 1 to 15 are at the bottom of the Profile tab, under the manager, and save with the rest of the profile. For a user from Active Directory they are read-only, as Active Directory keeps them; change them there and the next sync brings them over.
At the command line, benchdog users set ann@contoso.com extensionAttribute1="Cost centre 42".
How do I change or remove a user's manager?
On the Profile tab, type the start of the manager's name, mail or user name in the box under Manager and press Find. Pick them from the list, then Save. Clear takes the manager away once you save.
At the command line, benchdog users set ann@contoso.com manager=ben@contoso.com sets the manager by user name or object id, and manager= removes it.
How do I change a user's photo?
Open the user and press Change photo, pick a JPEG or PNG of up to 4 MB, and say Yes. Entra ID keeps the photo and makes the smaller sizes Teams, Outlook and the rest show, which can take a little while to reach them. Save photo writes the current photo to a file, and Remove photo takes it away after a Yes.
At the command line, benchdog users photo ann@contoso.com --set ann.jpg sets it, --save ann.jpg saves it, and --remove removes it.
How do I see who changed a user, and what they changed?
Open the History tab. It reads Entra ID's own audit log for the user over the last 1, 7, 14 or 30 days, and lists every change newest first, with who made it, a person or an app such as AD Connect, and each field's value before and after. It covers changes made anywhere, not only in Benchdog.
At the command line, benchdog users history ann@contoso.com --days 30.
How do I reset someone's password?
Open the user and press Reset password at the top right. Benchdog asks first, with a box to sign them out of every device as well, then shows the new one-time password once, with Copy. Give it to them in a safe way; they choose their own when they next sign in, and Benchdog does not keep it. Your own password is changed at myaccount.microsoft.com, not here.
At the command line, benchdog users reset-password ann@contoso.com --sign-out asks you to type her user principal name, then prints the one-time password on its own, or --copy puts it on the clipboard.
How do I stop someone signing in, or let them back in?
Open the user and press Disable sign-in at the top right. Benchdog asks first, with a box to sign them out of every device now as well; without it, sessions already open can carry on for up to an hour. Their profile, groups and licences stay as they are. Enable sign-in lets them sign in again after a Yes. Your own account can not be disabled from here.
At the command line, benchdog users disable ann@contoso.com --sign-out asks you to type her user principal name first, and benchdog users enable ann@contoso.com lets her back in.
How do I add someone to a group, or take them out?
Open the user and the Groups tab. It lists the groups they are a direct member of, each with its kind. Type a word from a group's name in the box at the top and press Find, then Add beside the group, and say Yes. Remove beside a group takes them out, after a Yes. A group whose members can not be changed here has no button, and says why.
At the command line, benchdog users groups ann@contoso.com lists them, and --add "VPN Users" or --remove "VPN Users" changes them, by the group's exact name or object id.
How do I delete a user, or bring one back?
Open the user, press Delete user at the top right, and say Yes. They leave the list, and Undo beside the note brings them straight back. Entra ID keeps a deleted user for 30 days, with their groups and licences: User, Deleted users lists them with the day each is gone for good, and Restore brings one back. Benchdog never deletes anyone for good, and your own account can not be deleted from here.
At the command line, benchdog users delete ann@contoso.com asks you to type her user principal name, benchdog users deleted lists the deleted, and benchdog users restore ann@contoso.com brings her back.
How do I export users to Excel?
Tick the users you want, or search or type a department to match them, or leave everything empty for everyone, then press Export... under the list, or User, Export users. With users ticked, the button says Export 2 ticked... and Benchdog writes only those; with none ticked it writes every user that matches, not only the page listed, to a CSV file Excel opens, with the user principal name, every field and the manager.
At the command line, benchdog users export --out users.csv --department sales, or --users ann@contoso.com,ben@contoso.com for only those, and --fields jobTitle,department writes only those fields.
How do I change many users from a spreadsheet?
Export the users, change the cells you want in Excel, save it as CSV, and press Import... under the list. Benchdog shows every change, user by user and field by field, with the value now and the new one, and a tick beside each. Untick anything to leave it out, then press Apply and say Yes. An empty cell clears the field, and a column you delete leaves that field alone. The file needs a userPrincipalName or id column; the others are field names or labels, and manager.
At the command line, benchdog users import users.csv shows the changes, and --apply writes them after you say yes, with --results results.csv for what each line did.
How do I set one field on many users at once?
Tick the users in the list, or User, Tick all listed, then press Bulk edit.... Pick the field, such as Office, type the value, or leave it empty to clear it, and press Preview. Benchdog shows each change with a tick, and Apply writes them after a Yes. Ticks stay while you search, so you can tick users from several searches.
How do I work in another tenant?
Set the tenant in Settings in the desktop app, or add --tenant <tenant id> to any benchdog users command. Benchdog signs in to that tenant as you, so you need an account and a role there.
Before you buy
What role do I need in Entra ID?
Benchdog runs as you, so it can do only what your Entra role allows. Finding and reading users works for most accounts. Changing profiles, managers and photos needs a role such as User Administrator. Changing the profile of an administrator needs a higher role, such as Privileged Authentication Administrator or Global Administrator, as Entra ID decides. The History tab needs a role that may read the audit log, such as Reports Reader, Security Reader or User Administrator.
Does Benchdog change anything without asking?
No. Save, Change photo, Remove photo, Disable sign-in and Apply on an import or bulk edit each ask first, and Save lists the fields it will write. Only the fields you changed are sent. If someone changed one of those fields since you opened the user, Benchdog says which field and what it now holds, and writes nothing. Finding users, reading profiles, photos and history, and exporting only read. The AI Assistant asks too: anything it would change waits for Run in the chat, and it never presses Save or Apply for you.
Can it manage licences?
No. User Manager makes, deletes and restores users, edits the profile, the extension attributes, the manager and the photo, resets passwords, disables and enables accounts, adds users to groups and takes them out, and shows the history. Licences are managed in the Microsoft 365 admin center.
How far back does the history go?
Up to 30 days. Entra ID keeps 7 days of audit log on the free tier and 30 days with Entra ID P1 or P2, so on the free tier only the last 7 days have anything to show.
Can I try it before I buy?
Yes. Every tool has a thirty day trial with every feature, and no card. Ask for one at benchdog.dev/trial with your name and email, and the trial licence arrives by email, as a line to paste and a benchdog.licence file. One trial per person covers every tool at once.
What does one licence cover?
One licence is for one person and covers the VS Code extension, the desktop app and the benchdog command, on every machine that person works from. There is no machine limit. SQL Watchdog is the one tool sold by servers: one instance is a collector and up to three servers, a server being one host with any number of SQL Server instances, one VM, one PaaS instance or five Azure SQL databases, and anyone on your team views what it keeps. Buy more instances for more servers; past the count, the collector checks the first servers in the project and says the rest are not licensed. Buying another tool reissues your licence with that tool added.
The licence shows whose it is: your name and email appear in each tool's About and account menu.
I lost my licence. How do I get it again?
Go to benchdog.dev/licence, enter the email address you bought or started your trial with, and a six digit code comes to it. Enter the code, and every licence that address holds comes by email again. Nothing is shown on the page, and a licence only ever goes to the address it was issued to. A tool's licence screen does the same with Get my licence.
What happens when my subscription ends?
The tool keeps working for thirty days of grace after your paid year ends, and says a renewal is due from thirty days before. Once the grace is over, its main actions stop until you renew, as after a trial. A renewal emails the licence again, and a tool picks it up when you check for a newer licence. An installed SQL Watchdog, Uptime or SQL Scheduler service never stops without warning: it counts down thirty days with an alert a day, then stops, and SQL Scheduler keeps running backup steps whatever the licence.
Which operating systems and SQL Server versions does it support?
The VS Code extensions run in VS Code 1.95 or later on Windows. The desktop apps and the benchdog command are single programs for Windows (x64), with no .NET install needed. Mac and Linux are coming. The SQL tools work with SQL Server 2017 or later, Azure SQL Database and Azure SQL Managed Instance.
Does Benchdog send my data anywhere?
No. The engine runs on your machine, reads your vaults and databases as you, and keeps the results with you. A tool contacts benchdog.dev only when you click something that needs it, such as asking for your licence, and never in the background. Licences are checked offline.
Can a tool damage my database?
Every change a tool makes runs in one transaction with XACT_ABORT on, so it all happens or none of it does. A SQL Schema Compare deploy, a SQL Data Comparer sync and a SQL Data Filler fill are each one transaction, and SQL Data Scrambler scrambles each table in one. The scripts the tools write for you to run in SSMS or sqlcmd are wrapped the same way and roll back if any batch fails. SQL Multi Runner runs your own script as it is, and wraps each database in a transaction when you tick that. Before any change, a tool says what it will do and asks first: SQL Schema Compare names the tables and columns whose rows go, SQL Data Comparer says how many rows change, and SQL Data Scrambler asks you to type the database's name. SQL Schema Compare also stops if either database changed after you read the plan. Even so, nothing replaces a backup, and the SQL Server tools can take one first.
How does it sign in?
Azure calls run as you, through a browser sign-in once or through your existing az login, in any tenant you belong to. The SQL tools use your Microsoft account, your Windows sign-in or a SQL login, and every connection is encrypted. A SQL login's password is kept until the app closes, or in your system's secure store (DPAPI on Windows, Keychain on Mac, libsecret on Linux) if you tick Remember. It is never written to a settings file, a project file or a log.
When something goes wrong
Why does it say Insufficient privileges to complete the operation?
Entra ID refused the change because your role does not allow it. For most users you need User Administrator; for an administrator's profile, a higher role such as Privileged Authentication Administrator or Global Administrator. Nothing was changed. Ask your Entra administrator for the role, then try again.
Why can't I change a user who comes from Active Directory?
Users synced from an on-premises Active Directory by Entra Connect keep most profile fields in Active Directory, and Entra ID refuses to change them in the cloud, saying the properties are mastered on-premises. Change them in Active Directory instead, and the next sync brings them to Entra ID. The history then shows the change made by the sync app.
Why does it say a field was changed elsewhere?
Someone, or a sync, changed that field after you opened the user, and Benchdog will not overwrite it. Nothing was saved. Press Refresh (F5) to read the user again, then make your change again on top of what they wrote.
Why does the History tab say the audit log could not be read?
Reading Entra ID's audit log needs a role that may read it, such as Reports Reader, Security Reader or User Administrator, and some tenants need Entra ID P1 for it. The rest of the app works without it. Ask your Entra administrator for one of those roles.
Why was my photo refused?
Benchdog takes a JPEG or PNG of up to 4 MB, and reads the type from the file itself, so a file renamed to .jpg that is really something else is refused before anything is sent. An empty file is refused too. Save the photo again as a JPEG or PNG, smaller than 4 MB if need be, and try again.
Why was my new user refused?
Entra ID needs the user principal name to be on a domain your tenant has verified, such as yourcompany.com or yourcompany.onmicrosoft.com, and no other user may have it already. The New user window stays open with Entra ID's reason, so you can fix it and press Create again. Making users needs a role such as User Administrator.
Why was a password reset refused?
Resetting needs a role such as Helpdesk Administrator or User Administrator, and an administrator's password needs a higher one, such as Privileged Authentication Administrator. For a user from Active Directory, Entra ID can only reset the password when password writeback is set up in Entra Connect; otherwise reset it in Active Directory.
Why can't I restore a deleted user?
Someone else may have their user principal name now, which Entra ID refuses; give that user another name first, or restore by the deleted user's object id once it is free. After 30 days Entra ID deletes a user for good, and nothing can bring them back. Restoring needs a role such as User Administrator.
Why was a line of my import left out?
The preview says why beside the line. The user may not exist, or be in the file twice; a value may be longer than Entra ID takes; the manager may not be found; or a field may come from Active Directory. Fix the file and import it again. When Apply says a user was not updated because a field was changed elsewhere, someone changed it after the preview; import again to see it as it is now.
Why can't I change some of a user's groups?
Entra ID decides, and the Groups tab says why beside each one. A dynamic group's members come from a rule, so change the rule or the user's details instead. A group from Active Directory is changed there, and the next sync brings it over. Graph can not change the members of a distribution list or a mail-enabled security group, so use Exchange. A group that can hold admin roles needs Privileged Role Administrator or Global Administrator to change.
Why does it say the user was not found?
No user in the tenant has that user name or object id. Check the spelling, and that you are signed in to the right tenant: set it in Settings, or with --tenant at the command line. A guest's user name holds #EXT#, so copy it from the list or use their object id.
How do I get a log of what happened?
Turn on the diagnostics log: in a desktop app, Settings, then Write a diagnostics log; in VS Code, the extension's diagnostics setting; for the benchdog command, set the environment variable BENCHDOG_DIAGNOSTICS=1. Each run writes one file to the logs folder in the Benchdog folder (%LOCALAPPDATA%\Benchdog\logs on Windows, ~/Library/Application Support/Benchdog/logs on Mac, ~/.local/share/Benchdog/logs on Linux), and the last ten are kept. The desktop apps have Open logs folder, and VS Code has the Open Diagnostics Logs Folder command.
The log records sign-in requests, Azure calls, engine requests, SQL connections, times and errors. Passwords, connection strings, tokens, secret values and your data are never written, so it is safe to send to support.
The desktop app showed an error window. What now?
That is the crash window, for an error the app did not expect. Copy details puts the error and its details on the clipboard, Email support opens a message to support with them, and Open logs folder shows the crash report, which is written even with the diagnostics log off. If the error happened on a background thread the app has to close, and the window shows when it next starts.
It says the server's certificate is not trusted.
The SQL Server you connected to uses a certificate your machine does not trust, which is usual for a server on your own network with a self-signed certificate. Pick Trust the server's certificate in the picker, or add --trust-server-certificate on the command line, for servers you know. For a server you do not know, install its certificate chain instead.
How do I remove a SQL password Benchdog remembered?
In a desktop app, choose Forget saved password from the menu. On the command line, run benchdog sql forget-password --server <server> --sql-login <login>. Either removes it from the system's secure store, which is the only place it was kept.
Where do I get help?
Write to support@benchdog.dev or use the support form on this site, and a person replies. Say which tool and version you were using (Help, About in a desktop app shows both), what you did and what you saw, and attach the diagnostics log if you have one.
Not answered here? Ask on the support form and a person replies.