Kerberos key (token) - automatic renewal

Silver Contributor



is there a way to make a PowerShell script that updates the Kerberos key every 30 days with automated task on Windows Server. 

Kerberos Entschlüsselungsschlüssel manuell erneuern -

The script should install Powershell modules, import them, connect to Azure AD and Active directory automatically and renew
How to connect (log in) to Azure AD directly with PowerShell Script with a global admin with MFA enabled? Is that possible?

I would appreciate your help.

Kindest regards,


0 Replies