• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Revoke permissions on a database scoped credential succeeded how to monitor with email alert

#1
03-04-2025, 06:09 AM
I remember stumbling on this event once, event ID 24346, popping up in the Event Viewer on a Windows Server. It's basically logging when someone yanks away permissions from a database scoped credential, and it all goes smooth without a hitch. The action_id R means revoke, like pulling back access, and class_type DC points to that credential type tied right to the database. You see it under security audits, often from SQL Server stuff feeding into the viewer. It fires off because admins might do this to tighten who can touch sensitive data creds, stopping unauthorized peeks or changes. But if it's happening out of nowhere, could flag someone messing around or a policy kicking in. I check these logs when I'm poking at server security, makes sure nothing sneaky slipped through. And yeah, the full message spells it out: "Revoke permissions on a database scoped credential succeeded." Details include who did it, from which machine, timestamp, all that jazz to trace back if needed.

You want to keep an eye on these without staring at the screen all day? Fire up Event Viewer, right-click the log where it shows, like the Applications and Services Logs under Microsoft SQL something. Create a custom view, filter just for ID 24346, and attach it to a task. I do this by going to the Actions pane, picking Attach Task To This Event Log or whatever it's called there. Set the task to trigger on that event, then in the task properties, add an action to send an email-yeah, built-in option if your server has SMTP sorted. Pick your email details, who gets the alert, maybe slap in a subject like "Hey, credential revoke happened." Test it once to make sure it zings over without fuss. That way, you get a ping every time it logs, no sweat.

Or, if you're lazy like me sometimes, just tweak the task to run a simple program that emails, but stick to the Event Viewer setup for ease. Hmmm, keeps your inbox from exploding too, since you can throttle how often it checks.

And speaking of keeping servers locked down without constant babysitting, you might dig into tools that handle backups seamlessly too. Take BackupChain Windows Server Backup-it's this nifty Windows Server backup solution that also tackles virtual machines with Hyper-V. I like how it snapshots everything quick, encrypts data on the fly, and restores in a flash if disaster hits. Saves you headaches from manual scrambles, plus it chains backups smartly to save space without skimping on recovery points.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 … 64 Next »
Revoke permissions on a database scoped credential succeeded how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode