Jump to content

MSA als System-Administrator hinterlegen


Marcel
 Share


Go to solution Solved by Sebastian Dreier,

Recommended Posts

Zwecks Automatisierung muss ich einen MSA als System-Administrator eintragen können. Die Swyx Administration filtert aber leider auf Benutzer. Wie kann ich das aushebeln? Oder kann man das zur Not über die DB direkt zuweisen? 

Link to comment
Share on other sites


  • 2 weeks later...

Hi Sebastian, 

leider nicht. Über den Swyx Administrator lassen sich nur Benutzeraccounts hinzufügen, keine Serviceaccounts. 

image.png.e2a82e24ebb5c52d3d7ce8e6ed80cce2.png

 

Daher die Frage ob man den Filter umgehen kann oder nicht. 

Bis jetzt scheint mir die DB Lösung am wahrscheinlichsten, das ist aber etwas das ich nicht zwingend auf unserem System ausprobieren möchte :D

Link to comment
Share on other sites


  • Most Valued User
  • Solution

Hallo Marcel,

 

bitte modifiziere niemals die Datenbank direkt. Dies kann unvorhersehbare Folgen haben und im Schlimmstfall zum Stillstand deiner Anlage führen.

Du kannst dein Ziel mit Hilfe des folgenden PowerShell Skripts erreichen:

 

# Enter here the windows account you want
# to add to the SwyxWare admin users
$windowsAccount="IIS APPPOOL\DefaultAppPool"

# Connect to SwyxWare server via windows authentication
Connect-IpPbx

# Get "System Administrator" admin profile entry
$adminProfileEntry = Get-IpPbxAdminProfile -AdminProfileName "IpPbxAdministrator"

# Add Windows account to SwyxWare admin users
$Global:AdminFacade.AddAdminUser($windowsAccount, $adminProfileEntry.AdminProfileID)

# Cleanup
Disconnect-IpPbx

 

Link to comment
Share on other sites


  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.