#skype4b/office365 Cannot perform the action (password reset)

With the right credentials, you continue to fail to sign-in to Skype for Business / Office 365 (Skype Online):

Can’t sign in to Skype for Business
The user name, password, or domain appears to be incorrect. Ensure that you entered them correctly. If the problem continues, please contact your support team.

Still not working? See if you can fix it.
[OK]

On the main skype4b desktop application’s “Sign in” page, … Continue reading

#skype4b Uninstall-CsDatabase SQL Failure

To remove a Skype for Business Server backend SQL database, you execute the following and immediately hit a similar failure as depicted:

Uninstall-CsDatabase -SqlServerFqdn fesqlserver -DatabaseType Monitoring

Trying to connect to Sql Server using windows authentication…
Exception stack:
Type: System.Reflection.TargetInvocationException, Message: Exception has been thrown by the target of an invocation.
Type: Microsoft.Rtc.Common.Data.DbSetupSqlServiceNotInstalledException, Message: Failed to find Sql Service. Make sure that SQL server service (default instance) is installed in machine fesqlserver.

Uninstall-CsDatabse: Failed to connect to the SQL Server fesqlserver.
At line:1 char:1

For a setup with non SQL default instance (MSSQLSERVER), specify the -SqlInstanceName parameter and corresponding value to correct this issue.

#skype4b Reset Presence Status with PowerShell (and LyncSdk)

You may notice that since the launch of Lync 2010 client to the latest Skype for Business 2016 (desktop) client, user’s manually configured Presence Status automatically reverts to Available after some predetermined time-out period [1]. This is unlike system managed status such as In a call or In a conference* which remains unchanged as long as the session is active (even with a locked computer).

To regain control over presence status set explicitly by hand, you can deploy PowerShell in combination with … Continue reading

#skype4b Set Presence Idle Away Threshold with PowerShell

The majority of client-side settings in Skype for Business 2016 client are controlled in-band whereas certain parameters continue to be configured using Group Policy (centrally in an AD environment). The latter essentially writes to the corresponding key/value pair in the Windows registry for each user in HKCU:.

One such popular setting is the Away status. Because both Active Directory Computer and User Group Policy are applied at computer start/user log on, and automatically refreshes every 90 minutes in the background by default (+30 minutes random offset), manual configuration of this setting will be overwritten eventually.

To workaround this constraint … Continue reading

#skype4b: SQL Mirror Database Failover Suspended (not synchronized state)

With SQL Database Mirroring setup in a Skype for Business Server infrastructure, the state of all databases should be uniform and not with “partial” cross over. That is to say, the status for both StateOnPrimary and StateOnMirror should either all be in the Principal or Mirror state when checked using Get-CsDatabaseMirrorState.

If that turns out otherwise, you can run Invoke-CsDatabaseFailover for the target Front-End pool to achieve this stable mirror state on both the primary and mirror SQL Database servers. Nevertheless, FailedWithError could happen where MirroringStatusOnPrimary and/or MirroringStatusOnMirror continue to show suspended and cannot reach a synchronized state.

Should a manual … Continue reading

Zurich Kurs/Course: Windows Server 2016 Basics – Definitiv Start (ab Do. 24. Aug 2017)

Der praxisnahe Windows Server 2016 Basics Kurs (IS36.17.41) wird am Do. 24. Aug 2017 für insgesamt 6 Abende (18:00 bis 21:30 Uhr) in Zürich planmässig anfangen.

Sichern Sie sich Ihre Plätze und buchen Sie jetzt ansonsten müssen Sie bis Januar 2018 auf den nächsten Kurs warten. Mehr Information und Anmeldung finden Sie hier.

#powershell Script: Find Active Directory User II

Find-AdUserII is one of the many PowerShell functions/utilities in my personal script toolbox repository designed to help simplify the management and administration of just about any Active Directory Directory Services (AD DS) environments.

This self-explanatory utility works in PowerShell v2.0 and higher without any dependency on the AD PowerShell Module or other third party add-on. It accepts displayname as a parameter; you can customize the search criteria to any supported AD user attributes, for example. With the (auto) discovered forest/domain names, the function performs LDAP searches across multiple domains in your entire AD forest automagically (thanks to the .NET Framework). Enjoy!

################################################################################
# Copyright (c) 201x-2017 leedesmond.com
# All Rights Reserved. Use at your own risk and responsibility.
# Find-AdUserII.ps1
# Version 1.00
#
Continue reading

#powershell Script: Find Active Directory User I

Find-AdUserI is one of the many PowerShell functions/utilities in my personal script toolbox repository designed to help simplify the management and administration of just about any Active Directory Directory Services (AD DS) environments.

This self-explanatory utility works in PowerShell v2.0 and higher without any dependency on the AD PowerShell Module or other third party modules. It accepts SamAccountName as a parameter; you can customize the search criteria to displayname or any supported AD user attributes for example. You don’t even need to know or specify the domain name if your AD environment is a straightforward single forest single domain setup. Enjoy!

################################################################################
# Copyright (c) 201x-2017 leedesmond.com
# All Rights Reserved. Use at your own risk and responsibility.
# Find-AdUserI.ps1
# Version 1.00
#
Continue reading

Zurich Kurs/Course: Windows Server 2016 Basics (ab 24. Aug 2017)

Möchten Sie die Grundkenntnisse zur Verwaltung von der brandneuen Microsoft Windows Server 2016 Plattform lernen? Dann verpassen Sie diese Gelegenheit nicht, den aktuellen praxibezogenen Kurs zu besuchen. Dies findet schon am Do. 24. Aug 2017 für insgesamt 6 Abende in Zürich statt.

Es gibt noch freie Plätze – mehr Information und Anmeldung finden Sie hier.

Windows PowerShell 2.0 Deprecated in Windows 10 Fall Creators Update

Windows PowerShellAccording to the Microsoft KB article* entitled “Features that are removed or deprecated in Windows 10 Fall Creators Update“, Windows PowerShell 2.0, which shipped out of the box in Windows 7 and Windows Server 2008 R2, will be deprecated.

On platforms earlier than Windows Server 2016 and Windows 10 Build 1511, customers are advised to migrate applications and components to PowerShell 5.x.

Deprecated = not in active development and might be removed in future releases.

* Article ID: 4034825 – Last Review: Jul 24, 2017 Revision: 20