Friday, 12 May 2017

how to resovle "'Subtask CheckPrereqs execution failed: Check Tenant Prerequisites Deserialization fails due to one SerializationException" error

I have hybrid environment with Exchange server 2013 CU8 and Office 365. Every thing was working fine but in coming few days public SSL was getting expired. so after renewing the public SSL on the on premise servers, i start rerunning the hybrid configuration wizard as the old certificate was used in it.
But while rerunning the hybrid configuration wizard from the on premises ECP i got the following error.
After looking it more on the internet i came to know that i should download  the latest Hybrid Configuration Wizard  available on ("http://aka.ms/TAPHCW"). after trying this new tool the wizard was completed without this error. 

The wizard did not complete successfully. Please see the list below for error details.
Updating hybrid configuration failed with error ?'Subtask CheckPrereqs execution failed: Check Tenant Prerequisites Deserialization fails due to one SerializationException: Microsoft.Exchange.Compliance.Serialization.Formatters.BlockedTypeException: The type to be ?(de)?serialized is not allowed: Microsoft.Exchange.Data.Directory.ADMultiValuedProperty`1[[Microsoft.Exchange.Data.SubscribedPlanDetails, Microsoft.Exchange.Data, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Microsoft.Exchange.Data.Directory, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 at Microsoft.Exchange.Compliance.Serialization.Formatters.TypedSerializationFormatter.TypeBinder.BindToType?(String assemblyName, String typeName)? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind?(String assemblyString, String typeString)? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType?(BinaryAssemblyInfo assemblyInfo, String name)? at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor?(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)? at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped?(BinaryObjectWithMapTyped record)? at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run?()? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize?(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)? at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize?(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)? at Microsoft.Exchange.Compliance.Serialization.Formatters.TypedBinaryFormatter.Deserialize?(Stream serializationStream, SerializationBinder binder)? at Microsoft.Exchange.Data.SerializationTypeConverter.DeserializeObject?(Object sourceValue, Type destinationType)? The type to be ?(de)?serialized is not allowed: Microsoft.Exchange.Data.Directory.ADMultiValuedProperty`1[[Microsoft.Exchange.Data.SubscribedPlanDetails, Microsoft.Exchange.Data, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Microsoft.Exchange.Data.Directory, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 at Microsoft.Exchange.Compliance.Serialization.Formatters.TypedSerializationFormatter.TypeBinder.BindToType?(String assemblyName, String typeName)? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind?(String assemblyString, String typeString)? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType?(BinaryAssemblyInfo assemblyInfo, String name)? at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor?(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)? at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped?(BinaryObjectWithMapTyped record)? at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run?()? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize?(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)? at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize?(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)? at Microsoft.Exchange.Compliance.Serialization.Formatters.TypedBinaryFormatter.Deserialize?(Stream serializationStream, SerializationBinder binder)? at Microsoft.Exchange.Data.SerializationTypeConverter.DeserializeObject?(Object sourceValue, Type destinationType)? ?'. Additional troubleshooting information is available in the Update-HybridConfiguration log file on server MBXCAS located at C:\MSExchange2K13\Logging\Update-HybridConfiguration\HybridConfiguration_5_9_2017_13_9_8_636299321480526847.log.Microsoft.Exchange.Compliance.Serialization.Formatters.BlockedTypeException: The type to be ?(de)?serialized is not allowed: Microsoft.Exchange.Data.Directory.ADMultiValuedProperty`1[[Microsoft.Exchange.Data.SubscribedPlanDetails, Microsoft.Exchange.Data, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Microsoft.Exchange.Data.Directory, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 at Microsoft.Exchange.Compliance.Serialization.Formatters.TypedSerializationFormatter.TypeBinder.BindToType?(String assemblyName, String typeName)? at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Bind?(String assemblyString, String typeString)? 

 

Wednesday, 30 November 2016

Storage drive appearing as RAW in Windows Server 2008 R2

I faced an issue that a storage drive assigned from DS 3400 was appearing in RAW format.
i was unable to open it, initialize it and it asking every time to format it. as it was not in NTFS format and Windows was unable to open it, RAW format was unknown for it.

Actually the was that, the server was restarted and the IQN was changed of the server due to some issue.
after putting the IQN again in Storage issue was resolved.

The IQN of a server you can find as below.
Open ISCSI initiator and then go to Favorite Targets and there you will see the IQN.

The IQN you will put in below path on the DS3400 storage.
Open DS3400 storage console (i have IBM DS storage Manager 10)--> here you have to open the required storage, -->Host Mappings Tab-->select the required host group--->right click on Drive and select-->select Manage host port Identifiers-->Add Host port identifier information (This value and the value on server should be the same)


P.S: possibility of this is

if you rename the server.
if you change the IP.
if there is network device between SAN and Server which malfunction.


 

Thursday, 24 November 2016

The operation couldn't be performed because object 'd7f5dfd8676fd' couldn't be found on 6fd87ere8fy7.prod.outlook.com

The operation couldn't be performed because object 'd7f5dfd8676fd' couldn't be found on 6fd87ere8fy7.prod.outlook.com

Few days back i moved a user from its OU (OU1) which was synchronizing with Office 365 to another OU (OU2) which was not synchronizing with Office 365.
after that i faced few issues with this user, the issue was below.
(1) was unable to receive email but can sent emails, mails for this user were stuck in Queue
(2) in Office 365 admin Center getting errors when checking its properties, which was as below.
The operation couldn't be performed because object 'd7f5dfd8676fd' couldn't be found on 6fd87ere8fy7.prod.outlook.com
(3) in portal.office.com also getting some errors

This issue was resolved in this way

  1. Move this user to another OU (OU2) which was not synching with office 365
  2. Then start ADsync syncing and when it complete
  3. Then move again the user to the old OU (OU1) in which this user was in start.
  4. Then start again the syncing manually
  5. And the issue was resolved.
 

Thursday, 17 November 2016

The UMMailboxPolicy policy assigned to the mailbox in the source forest couldn‎'t be mapped to the policy in the target forest

I have hybrid environment with Exchange server 2013 and office 365. i was trying to migrate a mailbox from on premises to office 365. but was getting the following error and migration was failing.
the reason was that the user was enabled for UM and a UM policy was applying on it, which was not exist in office 365. so as a work around i just went to exchange control panel, search this user mailbox and disable the Unified Messaging in Phone and Voice Features, in mailbox feature of this user.
then tried to migrate again and was able to migrate this time.
Unified Messaging: Disabled

Error: MigrationPermanentException: Mailbox ‎'username@domain.com‎‎' in the source forest is currently enabled for Unified Messaging but it can‎'t be enabled for Unified Messaging in the target forest for the following reason: The UMMailboxPolicy policy assigned to the mailbox in the source forest couldn‎'t be mapped to the policy in the target forest. Wasn‎'t able to find a UMMailboxPolicy policy using ‎'‎(SourceForestPolicyNames Equal Dial_Plan Default Policy)‎‎' as a filter in target forest. Please fix the problem or disable the mailbox for Unified Messaging before you try the operation again. --> Mailbox ‎'username@domain.com‎' in the source forest is currently enabled for Unified Messaging but it can‎'t be enabled for Unified Messaging in the target forest for the following reason: The UMMailboxPolicy policy assigned to the mailbox in the source forest couldn‎'t be mapped to the policy in the target forest. Wasn‎'t able to find a UMMailboxPolicy policy using ‎'‎(SourceForestPolicyNames Equal Dial_Plan Default Policy)‎‎' as a filter in target forest. Please fix the problem or disable the mailbox for Unified Messaging before you try the operation again. --> The UMMailboxPolicy policy assigned to the mailbox in the source forest couldn‎'t be mapped to the policy in the target forest. Wasn‎'t able to find a UMMailboxPolicy policy using ‎'‎(SourceForestPolicyNames Equal Dial_Plan Default Policy)‎‎' as a filter in target forest.
Report:
user@domain.com Download the report for this user

Sunday, 30 October 2016

how to find system restart time through command in windows operating system

how to find system restart time through command in windows operating system
you can use the following command in command prompt.
systeminfo | find "System Boot Time

Thursday, 13 October 2016

how to find drives space on remote machines

you can use the following command in windows power shell, but you need admin rights otherwise you will get access denied error.


get-WmiObject win32_logicaldisk -Computername machinename01

Saturday, 6 August 2016

WSUS service stoping again and again after each few minutes and administration console not connecting

I had WSUS server installed on the same server as SCCM primary server.
My issues
  1. WSUS was not stable, it crashed again after few minutes
  2. WSUS administration console did not connect
  3.  In SCCM console the status of Software update point was not healthy

After searching enough i got the following link (https://blogs.technet.microsoft.com/wsus/2016/05/05/the-long-term-fix-for-kb3148812-issues/)
which is relevant to this issue but in my case KB3148812 was not installed and the KB3159706 was installed.
Now to resolve this issue i took the following steps

  1. Deleting the wsus file from (C:\user\username\AppData\Roaming\Microsoft\MMC)
  2. Uninstalling KB3159706
  3. Restarting the server

 my issue was resolved.


In event viewer the following errors found

Log Name:      Application
Source:        Windows Server Update Services
Date:          8/6/2016 7:52:08 PM
Event ID:      7053
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SCCMPRSRV.pt.com
Description:
The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.

System.IndexOutOfRangeException -- Index was outside the bounds of the array.
Source
Microsoft.UpdateServices.BaseApi
Stack Trace:
   at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
   at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetConfiguration()
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Load()
   at Microsoft.UpdateServices.Internal.ClassFactory.CreateWellKnownType(Type type, Object[] args)
   at Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.set_UserSelectedCulture(String value)
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.TrySetServerCulture(String culture)
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.SetServerCulture()
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools..ctor(CultureInfo culture, IUpdateServer updateServer)
   at Microsoft.UpdateServices.UI.SnapIn.Common.ServerTools..ctor(ServerSummaryScopeNode serverSummaryScopeNode, SnapInTools snapInTools, IUpdateServer updateServer)
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Server Update Services" />
    <EventID Qualifiers="0">7053</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-08-06T14:52:08.000000000Z" />
    <EventRecordID>55280</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SCCMPRSRV.pt.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.

System.IndexOutOfRangeException -- Index was outside the bounds of the array.
Source
Microsoft.UpdateServices.BaseApi
Stack Trace:
   at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
   at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetConfiguration()
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Load()
   at Microsoft.UpdateServices.Internal.ClassFactory.CreateWellKnownType(Type type, Object[] args)
   at Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.set_UserSelectedCulture(String value)
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.TrySetServerCulture(String culture)
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.SetServerCulture()
   at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools..ctor(CultureInfo culture, IUpdateServer updateServer)
   at Microsoft.UpdateServices.UI.SnapIn.Common.ServerTools..ctor(ServerSummaryScopeNode serverSummaryScopeNode, SnapInTools snapInTools, IUpdateServer updateServer)
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()</Data>
  </EventData>
</Event>