Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 7129

Exchange 2013 SP1, Windows Server 2012 R2. Alternate Service Account is not working

$
0
0

Hello All,

I`m unable to roll Alternate Service account to the following env:

2x Exchange 2013 SP1 CAS Only Servers on Windows Server 2012 R2

3X Exchange 2013 SP1 MB Only Servers on Windows Server 2012 R2

It was working fine on the same environment in the same domain, but with Exchange 2013 CU3 on Windows Server 2012.

Here is the output:

[PS] D:\Exchange Server\scripts>.\RollAlternateServiceAccountPassword.ps1 -ToSpecificServers server6,server7

GenerateNewPasswordFor contoso\casasa$ -Verbose

========== Starting at 04/09/2014 14:57:42 ==========

VERBOSE: Effective parameters that were passed to this script:

Key                                                        Value

---                                                        -----

ToSpecificServers                                          True

GenerateNewPasswordFor                                     contoso\casasa$

Verbose                                                    True

Identity                                                   {server6, server7}

VERBOSE: Examining the state of the local runspace ...

VERBOSE: Preparing the destination ...

VERBOSE: Destination server identities: server6 server7

VERBOSE: Retrieving CAS server objects with credentials (passwords=False):

 server6, server7

VERBOSE: Retrieving ASA credentials from server server6

VERBOSE: Creating a new PowerShell session for server6. contoso.com

VERBOSE: Connecting to server6. contoso.com

Cannot process argument transformation on parameter 'Identity'. Cannot convert value "server6" to type

"Microsoft.Exchange.Configuration.Tasks.ClientAccessServerIdParameter". Error: "Cannot convert hashtable to an object

of the following type: Microsoft.Exchange.Configuration.Tasks.ClientAccessServerIdParameter. Hashtable-to-Object

conversion is not supported in restricted language mode or a Data section."

    + CategoryInfo         : InvalidData: (:) [Get-ClientAccessServer], ParameterBindin...mationException

    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-ClientAccessServer

    + PSComputerName       : server6.contoso.com

VERBOSE: Retrieving ASA credentials from server server7

VERBOSE: Creating a new PowerShell session for server7. contoso.com

VERBOSE: Connecting to server7. contoso.com

Cannot process argument transformation on parameter 'Identity'. Cannot convert value "server7" to type

"Microsoft.Exchange.Configuration.Tasks.ClientAccessServerIdParameter". Error: "Cannot convert hashtable to an object

of the following type: Microsoft.Exchange.Configuration.Tasks.ClientAccessServerIdParameter. Hashtable-to-Object

conversion is not supported in restricted language mode or a Data section."

    + CategoryInfo         : InvalidData: (:) [Get-ClientAccessServer], ParameterBindin...mationException

    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-ClientAccessServer

    + PSComputerName       : server7. contoso.com

VERBOSE: Destination servers:

VERBOSE: Checking version requirements for the destination servers ...

VERBOSE: Preparing the credential source ...

VERBOSE: Looking up account casasa$ in domain contoso

RecordErrors : Couldn't figure out valid servers from the specified destination scope. Check your parameters and try

again.

At D:\Exchange Server\scripts\RollAlternateServiceAccountPassword.ps1:996 char:1

+ RecordErrors -ExceptionsOnly { $script:success = Body }

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo         : NotSpecified: (:) [Write-Error], WriteErrorException

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,RecordErrors

Retrieving the current Alternate Service Account configuration from servers in scope

VERBOSE: Retrieving CAS server objects with credentials (passwords=False):

Alternate Service Account properties:

Per-server Alternate Service Account configuration as of the time of script completion:

========== Finished at 04/09/2014 14:58:18 ==========

        THE SCRIPT HAS FAILED

[PS] D:\Exchange Server\scripts>

I also noticed differences in the behavior of other cmdlets. I guess these are coming from PS 4.0 that comes with Server 2012 R2.

Can someone suggest resolution, different then revisiting the script?

Thanks


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>