Cannot link automation account with Workspace in OMS

OMS offers some great Automation & Control services that you might be interested to use it. However, when you try to add an Automation & Control solution for the first time, you will be asked to  “Configure Workspace” within which you need to specify the “Automation Account” you will be using. But, since you don’t have any automation account you will have to create a new one, but when you try to do so, you will face the following error:

Cannot link automation account with Workspace

In order to solve this issue, you have to go to Azure Portal and create an “Automation Account”, then go back to OMS Portal and this time select “Use Existing” instead of “Create New” and that should work.

In order to create an Automation Account, follow the coming steps:

  1. Open Azure Portal ,Click on “New” ,Search for “Automation” in the new blade, and Click on “Automation”.1
  2. Click on Create1
  3. Fill the fields as you wish but make sure that the Automation Account is placed on the same “Resource Group” as OMS.

1

 

Failed to register storage provider in VMM with error ID: 26263

Registration of storage provider “Storage Provider FQDN” failed for user “Run As Account used for that operation” failed from “SCVMM Management Server” with error code WsManMIInvokeFailed.

1

The previous error would face you during the storage registration process in SCVMM.

Actually, the main reason for the error is that the iSCSI Target Server you’re using as a storage provider for your virtual infrastructure, has its “Microsoft iSCSI Target Server” service stopped. So, in order to troubleshoot this issue you’ve to go to your storage provider server and make sure that this service is running, and everything will be just fine.

 

Error: “A management group with the same name is already registered to the data warehouse management group” in SCSM

After registering the data warehouse, and everything was going just fine, I lost the connection between the management server and the data warehouse, that’s when I lost the “Data Warehouse” and “Reporting” workspaces, but when I tried to register it again, I got the following error:

32

But, when I checked the registered management groups in the data warehouse management server, I found out that the management group of the Management Server and the data warehouse are there.

In order to check the registered management group follow the following steps:

  1. Run PowerShell as Administrator.
  2. Enter the following Cmdlet (Import-Module “.\Microsoft.EnterpriseManagement.Warehouse.Cmdlets.psd1”).
  3. Run the following Cmdlet “Get-SCDWSource”

33

In order to fix that error, you’ve to follow the following steps:

Using the same Powershell session, Enter the following Cmdlet:

UnRegister-SCDWSource –ComputerName “Data Warehouse Management Server” –DataSourceTypeName “ServiceManager” –DataSourceName “Management Server Management Group”

34

Once done you can register your Data Warehouse again, and everything will be okay.

Failed to connect to the SCSM console

When you restart your SCSM Management Server, or even shut downed it for a while and starting it up again, you would face the following error when you try to open the Service Manager Console.

31

As shown in the screenshot “The Data Access Service is either not running or not yet initialized”.

And, actually that is the reason why the connection to the Service Manager Management Server fails. When the server starting up after a reboot or a shutdown, the service does not start. Although that service startup type is Automatic, but sometimes it doesn’t just run, so you have to manually start or restart that service by following the following steps:

  1. Press Win+R to open the Run.
  2. Write Services.msc to open the services.
  3. Hover over “System Center Data Access Service”.
  4. Right click on the service and click on “Start”, if it is grayed out click on “Restart”

Once done, open the service manager console again, and everything would go just fine.

An error encountered while running the task in SCSM 2016 when browsing domain in AD Connector

When you try to create an AD Connector in SCSM 2016, everything would go just fine if you choose the default option while selecting a domain or OU step, but if you want to determine the a specific domain or OU, you will have to browse and select it, and that’s when that error will be raised.

30

Actually, this is a known issue and is documented in the release notes which you can see from here.

The workaround for this issue is to install “Microsoft Visual C++ 2012 Redistributable”.

The data warehouse registration failed in SCSM

Registering the data warehouse is the first thing to be done once you install your SCSM Console, but facing an error during the registration process would cause a headache to you especially, there are no errors logged in the event log.

However, the first thing you would think about when you are using any Microsoft Product GUI, is that it turns into Powershell, and it is the reason for that error.

The DW registration wizard uses Powershell cmdlet to trigger that task, but since the Powershell execution policy prevents the execution of registration cmdlet, that results in that error.

In order to solve that issue, you have to follow the following steps:

  1. Open Powershell on the server from which you are trying to register the DW.
    • Make sure you run it as Administrator
  2. Run the following cmdlet “Set-ExecutionPolicy RemoteSigned“.
  3. Restart the Service Manager Console.

 

Unable to connect to the data warehouse management server in scsm 2016

The data warehouse management server is one of the most important components of SCSM, that’s why the first thing we do after installing the Service Manager console is to register the data warehouse, but some times Winds do not blow as the vessels wish, and we face errors like the following one:

28

The main reasons for that errors are:

  1. The firewall is blocking the connection between the console and the data warehouse management server.
  2. The System Center Data Access Service and System Center Management Configuration are not running on the data warehouse management server.

So in order to solve this issue, you have to check whether the required ports are open or not, and check whether the mentioned services are running or not.

Once you check both of them, everything will be okay, as you see in the following screenshot:

29