<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Silvana Deac`s System Center Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/silvana/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/silvana/feed.xml</link>
    <description />
    <lastBuildDate>Thu, 01 Feb 2018 13:47:52 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>[SCOM]  AccessDeniedException SSRS SQL 2016</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/scom-accessdeniedexception-ssrs-sql-2016</link>
      <pubDate>Thu, 01 Feb 2018 13:47:51 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1555</guid>
      <description><![CDATA[Hello!

The following issue might happen when installing SCOM 2016 reporting on a SQL 2016 server...]]></description>
      <content:encoded><![CDATA[Hello!

The following issue might happen when installing SCOM 2016 reporting on a SQL 2016 server and trying to access the SSRS report server URL with a non SCOM administrator user (but which has admin rights on SSRS level):  "Could not load folder contents. You are not allowed to view this folder. Contact your administrator to obtain the necessary permissions"

The reports however are viewable in the SCOM console so the AccessDeniedException occurs on SQL level only.

This error will be fixed with SQL16 SP1 CU8.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>[SCOM] Replication Groups Discovery causes event ID 10801</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/scom-replication-groups-discovery-causes-event-id-10801</link>
      <pubDate>Wed, 31 Jan 2018 11:20:03 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1545</guid>
      <description><![CDATA[Hello again!

You might be getting this discovery issue with both SCOM 2012(R2)/2016 regardless of...]]></description>
      <content:encoded><![CDATA[Hello again!

You might be getting this discovery issue with both SCOM 2012(R2)/2016 regardless of UR with the latest Windows Server DFS Replication Management Pack.

(v. 7.1.10100.1)

<strong>10801 event:</strong>

Discovery data couldn't be inserted to the database. This could have happened because of one of the following reasons:

- Discovery data is stale. The discovery data is generated by an MP recently deleted.
- Database connectivity problems or database running out of space.
- Discovery data received is not valid.

The following details should help to further diagnose:

DiscoveryId: c5f14a94-16dd-e9dd-7e2f-f97820b8bc18
HealthServiceId: GUID
Microsoft.EnterpriseManagement.Common.<strong>DiscoveryDataInvalidClassPropertyValueException</strong>,The class property value specified in the discovery data item is not valid. The value needs to adhere to the class.
Class property name: Microsoft.Windows.FileServer.DFSR.ReplicationGroupMember.MemberGUID
Class property value: System
Rule ID: c5f14a94-16dd-e9dd-7e2f-f97820b8bc18
Instance:
&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;ClassInstance TypeId="{GUID}"&gt;&lt;Settings&gt;&lt;Setting&gt;&lt;Name&gt;GUID&lt;/Name&gt;&lt;Value&gt;FQDN&lt;/Value&gt;&lt;/Setting&gt;&lt;Setting&gt;&lt;Name&gt;GUID&lt;/Name&gt;&lt;Value&gt;GUID&lt;/Value&gt;&lt;/Setting&gt;&lt;Setting&gt;&lt;Name&gt;GUID&lt;/Name&gt;&lt;Value&gt;System&lt;/Value&gt;&lt;/Setting&gt;&lt;/Settings&gt;&lt;/ClassInstance&gt;.

&nbsp;

This happens due to some formatting issues with the DFS group naming, if the name contains spaces this error might occur.

We will release a fix for this in the next MP version, but if you encounter this error, make sure to open a support case if you want to receive a private fix.]]></content:encoded>
    </item>
    <item>
      <title>[SCOM] Error 0x8007000e in alerts for windows service template</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/scom-error-0x8007000e-in-alerts-for-windows-service-template</link>
      <pubDate>Wed, 17 Jan 2018 09:30:39 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1535</guid>
      <description><![CDATA[Hello all,

If you see alerts that were generated by a windows service template based monitor for...]]></description>
      <content:encoded><![CDATA[Hello all,

If you see alerts that were generated by a windows service template based monitor for a uncommon instance type (like non windows computer) this article might apply to you.
These type of alerts get generated almost hourly and have the following format:

<strong>Error when calling service status</strong>
<strong>Service: ServiceName</strong>
<strong>Error: 0x8007000e</strong>
<strong>Details: There is not enough memory to complete this operation</strong>
<strong>At least one workflow is affected</strong>

<strong>Workflow name: ServiceStateProbePage_GUID.DiscoveryRule</strong>
<strong>Instance name: Here you will have an unhosted instance like SQL AG Listener</strong>
<strong>Instanz-ID: {GUID}</strong>
<strong>Management group: MG_Name</strong>

The false positive alerts occur due to the design of the Windows Service discovery based on the template which targets all windows computers, not only ones hosted on agents. The discovery is also marked with remotable=true so the discovery runs also on agentless windows computer.
As a workaround you can create an override which disables the discoveries sending out false positive and as a target select the instance which should not raise the alerts (for example SQL AG listener windows computer object).
After this it is important to run the PowerShell-Cmdlet „Remove-SCOMDisabledClassInstance“ otherwise the change will not be applied.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>SCOM 2016 Maintenance Schedule issues</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/scom-2016-maintenance-schedule-issues</link>
      <pubDate>Wed, 22 Nov 2017 15:14:39 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1526</guid>
      <description><![CDATA[Hi,

&nbsp;

With SCOM 2016 (+/-UR1) sometimes when trying to create a new maintenance mode...]]></description>
      <content:encoded><![CDATA[Hi,

&nbsp;

With SCOM 2016 (+/-UR1) sometimes when trying to create a new maintenance mode schedule the following error is displayed:

<em>The EXECUTE permission was denied on the object 'sp_help_jobactivity', database 'msdb', schema 'dbo'.</em>
<em>The data access service account might not have the required permissions</em>

&nbsp;

As a workaround for this, we can grant this right. Please note that if the System Center Data Access service is running under local system , the permission will have to be granted for the computer account ( of all management servers)

<hr />
<p style="text-align: left"><span>use msdb
go
Grant Execute ON OBJECT::[dbo].[sp_help_jobactivity] To [domain\username]</span></p>


<hr />

Further, when proceeding with the creation of the MM schedule a further error appears:

<em>Microsoft.EnterpriseManagement.Common.ServerDisconnectedException: <strong>The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection</strong>. ---&gt; System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfFaulted() at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,</em><span><em> ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)</em> </span>

&nbsp;

To solve this, grant the following rights for the SDK/DAS account(or if local system to the MS computer accounts) to the MSDB database:
<ul>
 	<li>SQLAgentOperatorRole</li>
 	<li>SQLAgentReaderRole</li>
 	<li>SQLAgentUserRole</li>
</ul>
What I saw is that if these rights are not added the error is not displayed if the SDK is running under a local system account, but will create a bulk of maintenance schedules and will cause a flood of data and SQL agent jobs. Trying to add/delete maintenance schedules from the SCOM console will just time out after this. It does not make a difference if powershell commandlets are used instead.

So if a lot of "invalid" maintenance schedule entries and jobs are created, make sure the above rights are added for the MS computer account on the MSDB database.

&nbsp;

Also when creating a maintenance schedule and you select more then 216 target objects (instances or groups) the following error might occur:
<em>“The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.”</em>

Workaround:
<ul>
 	<li>Create a single group or multiple groups with all the objects you would like to add in the maintenance schedule</li>
 	<li>Create a maintenance schedule with these groups (number of groups should be less than 216)</li>
</ul>
&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>[OMS] Portal issues - HTTP Error 400</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/oms-portal-issues-http-error-400</link>
      <pubDate>Tue, 12 Sep 2017 11:41:32 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1525</guid>
      <description><![CDATA[Hi,

Sometimes the OMS portal seems to have various issues, so I will write about some that I...]]></description>
      <content:encoded><![CDATA[Hi,

Sometimes the OMS portal seems to have various issues, so I will write about some that I encounter.

For example "<strong>HTTP Error 400. The size of the request headers is too long</strong>"

Usually this error happens if there is a corruption in the browser cache or cookies.

&nbsp;

What to try which usually solves the issue: clear the browser cache/cookies and browsing history : https://www.thewindowsclub.com/delete-browsing-history-cookies-data-edge

&nbsp;

Workarounds:

-open browser in private mode (incognito)

-test across other browsers

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>[OMS]  'Session Expired' even if the user is working in the OMS portal</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/oms-session-expired-even-if-the-user-is-working-in-the-oms-portal</link>
      <pubDate>Mon, 21 Nov 2016 10:50:50 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1515</guid>
      <description><![CDATA[Hello,

Just a short post on an OMS issue.

If you are working in the OMS portal and are getting...]]></description>
      <content:encoded><![CDATA[Hello,

Just a short post on an OMS issue.

If you are working in the OMS portal and are getting despite of this a <strong>'Session Expired'</strong> message, please make sure the user you are logged in with, is an administrator in the OMS portal (under Settings-&gt;Accounts-&gt;Manage Users).

If the workspace is created from the Azure portal, it might be that the user is not part of this group. To be sure you don`t get this message, you should create the workspace directly from the OMS portal, this way the user is added automatically to the admin group.]]></content:encoded>
    </item>
    <item>
      <title>[SM] Submitted service requests and incidents in the Portal enter a closed state</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/sm-submitted-service-requests-and-incidents-in-the-portal-enter-a-closed-state</link>
      <pubDate>Wed, 09 Nov 2016 12:14:26 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1505</guid>
      <description><![CDATA[Hi,

I wanted to write an article on the new SM HTML5 portal, because one of the issues it has is...]]></description>
      <content:encoded><![CDATA[Hi,

I wanted to write an article on the new SM HTML5 portal, because one of the issues it has is that submitted service requests and incidents in the Portal enter a closed state.

This was fixed with UR2, however even after installing this fix custom states also are displayed with the closed states.  So the portal does not know about the custom state and will set as a default state all SR or incidents like this.

I made also a <strong>repro</strong> for this, so I will also post the steps on how I got to it, as a quick version:
1.create a custom SR status, save it into an MP, in this case <i>CustomMPSts</i>
<div>2. use PS to update an SR status to a custom state (previously created)</div>
<div></div>
<div># Get a specific Service Request
$ServiceRequest = Get-SCSMObject -Class (Get-SCSMClass -Name System.WorkItem.ServiceRequest) -filter "ID -eq <em>SR81</em>"
# Change the status of the Service Request to Completed
Set-SCSMObject -SMObject $ServiceRequest -Property Status -Value "<em>CustomMPSts</em>"</div>
<div></div>
<div>3. See in the SM portal (with UR2) status is set to close:</div>
<div></div>
<div>Service Request type requests: https://localhost:444/MyRequests/RequestDetails?type=ServiceRequest&amp;id=<em>SR81</em></div>
<div></div>
<div>The closed status is set also for states like: completed, failed, on hold, cancelled. This is by design, but you can edit this in the portal.</div>
<div></div>
<strong>The FIX:</strong>

In order to change the way states are displayed, you will have to edit the <strong>web.config</strong> of the SM Self Service Portal

Here is the official documentation for on how to achieve this:
By default, the portal puts custom enumerations for My Request (incident &amp; Service Requests) states in the Closed filter category. Now the portal allows for customization to map required custom states to the Active filter category also. For more details check for “CustomActiveRequestStatusEnumList” under “Basic Customization” section on this link.
<strong>https://technet.microsoft.com/en-us/library/mt622142%28v=sc.12%29.aspx</strong>
<div>
Basic Customization
The &lt;appSettings&gt; tab in the Web.config file offers some standard settings to easily customize and personalize the areas which are most often modified. Here’s a list of them</div>
<div></div>
<div>CustomActiveRequestStatusEnumList By default, the Self Service portal puts custom enumerations for My Request (incident and service requests) states in the Closed filter category. This key allows customization to map required custom states to the Active filter category. The value of this key should be a comma separated list containing EnumTypeName values of enumerations which are required to be mapped with the Active category in the Self Service Portal. You can look for desired custom states labeled EnumTypeName in the EnumType table, using the following example.</div>
<div></div>
<div> SELECT [EnumTypeName]</div>
<div></div>
<div> FROM [&lt;Service Manager DB name, which by default is “ServiceManager”&gt;].[dbo].[EnumType]</div>
<div></div>
<div>So for the custom states to be displayed correctly, we have to get the corresponding EnumTypeName from the DB (or MP) and edit it in the web.config under the AppSetting, attribute: CustomActiveRequestStatusEnumList
The EnumType has a form like Enum.e6afdb9a20aa4cdbabcd5ef24369f900[GUID], so you can search in the MP after this.</div>
<div></div>
&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>SCOM console crash FIX due to October security patches KB 3192392 is released!</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/scom-console-crash-fix-due-to-october-security-patches-kb-3192392-is-released</link>
      <pubDate>Wed, 19 Oct 2016 12:20:50 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1495</guid>
      <description><![CDATA[Hi all,

if you have problems with the SCOM console crashing (regardless of OS) after installing...]]></description>
      <content:encoded><![CDATA[Hi all,

if you have problems with the SCOM console crashing (regardless of OS) after installing the October 2016 security patches and the following event logged in the Application event log on the affected computer, you will be looking for this fix.

Faulting application name: Microsoft.EnterpriseManagement.Monitoring.Console.exe, version: 7.1.10226.1177, time stamp: 0x5697e092 <strong>Faulting module name: ntdll.dll</strong>, version: 6.3.9600.18438, time stamp: 0x57ae642e Exception code: 0xc0000374 Fault offset: 0x00000000000f1b70 Faulting process id: 0xfac Faulting application start time: 0x01d2254a42863351 Faulting application path: &lt;C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Console\Microsoft.EnterpriseManagement.Monitoring.Console.exe&gt; Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: 8b9ab37a-913d-11e6-814d-005056882c6a

&nbsp;

The fix was released and you can get it here:

<a href="https://support.microsoft.com/en-us/kb/3200006">https://support.microsoft.com/en-us/kb/3200006</a>

<span style="text-decoration: underline">Windows 10</span>: https://support.microsoft.com/en-us/kb/3199125

<span style="text-decoration: underline">Windows 10 Version 1511</span>: https://support.microsoft.com/en-us/kb/3200068

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>[SCOM] Agent installation/upgrade Error 25211 Failed to install performance counters</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/scom-agent-installationupgrade-error-25211-failed-to-install-performance-counters</link>
      <pubDate>Thu, 15 Sep 2016 11:38:49 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1475</guid>
      <description><![CDATA[If you have some servers where the SCOM Agent is either failing to install or get upgraded (with or...]]></description>
      <content:encoded><![CDATA[If you have some servers where the SCOM Agent is either failing to install or get upgraded (with or without the NOAPM switch) with the following error:
„Error 2511. Failed to install performance Counters.. Error Code -2147024809 (Wrong Parameters)" and in the installation log following error "InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057. " you might be having an issue with the SDDL.

Apparently the SCOM installer checks the following registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security\customsd

If the value is corrupt or an SID is invalid (the account does not exist anymore)  you might get this error.]]></content:encoded>
    </item>
    <item>
      <title>[Orchestrator] Orchestration Console and Web Service are not working anymore</title>
      <link>https://docs.microsoft.com/archive/blogs/silvana/orchestrator-orchestration-console-and-web-service-are-not-working-anymore</link>
      <pubDate>Thu, 11 Aug 2016 11:35:39 GMT</pubDate>
      <dc:creator><![CDATA[Silvana Deac]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/silvana/?p=1455</guid>
      <description><![CDATA[If you have the problem that the Orchestration Console and Web Service cannot be opened and the...]]></description>
      <content:encoded><![CDATA[If you have the problem that the Orchestration Console and Web Service cannot be opened and the following error is logged:<span style="font-family: Tahoma;font-size: small">
</span>
<p align="left"><em><span style="font-family: Tahoma;font-size: small">The server encountered an error processing the request. The exception message is 'An error occurred while executing the command definition. See the inner exception for details.'. See server logs for more details. The exception stack trace is:     </span><span style="font-family: Tahoma;font-size: small">System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)</span></em></p>
<p align="left"><em><span style="font-family: Tahoma;font-size: small">at System.Data.EntityClient.EntityCommandDefinition.Execute(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.EntityClient.EntityCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.EntityClient.EntityCommand.ExecuteScalar[T_Result](Func`2 resultSelector)
at System.Data.Objects.ObjectContext.ExecuteFunction(String functionName, ObjectParameter[] parameters)
at Microsoft.SystemCenter.Orchestrator.WebService.OrchestratorContext.OnContextCreated()</span></em></p>
You might be missing some objects in the Orchestrator DB... exactly what will show up in a WCF Trace configured in the web.config of the web service.

In one case, the following Service 'https://schemas.microsoft.com/SystemCenter/Orchestrator/Maintenance/MaintenanceService' and Queue [Microsoft.SystemCenter.Orchestrator.Maintenance].[MaintenanceServiceQueue] were missing from the Orchestrator DB, so a first check would be here.

If not a quicker way to solve this issue would be a restore of the Orchestrator DB to a time prior to this error.

The service and queue can be recreated manually by running the following queries on the Orchestrator DB:
<ol>
 	<li><strong>MaintenanceServiceQueue</strong></li>
</ol>

<hr />

<blockquote><span>USE</span><span> <span>[Orchestrator]</span></span>

<span>GO</span>

<span>/****** Object:  ServiceQueue [Microsoft.SystemCenter.Orchestrator.Maintenance].[MaintenanceServiceQueue]    Script Date: 8/10/2016 7:19:31 AM ******/</span>

<span>CREATE</span><span> <span>QUEUE</span> <span>[Microsoft.SystemCenter.Orchestrator.Maintenance]</span><span>.</span><span>[MaintenanceServiceQueue]</span> <span>WITH</span> <span>STATUS</span> <span>=</span> <span>ON</span> <span>,</span> <span>RETENTION</span> <span>=</span> <span>OFF</span> <span>,</span> <span>ACTIVATION </span><span>(</span>  <span>STATUS</span> <span>=</span> <span>ON</span> <span>,</span> <span>PROCEDURE_NAME</span> <span>=</span> <span>[Microsoft.SystemCenter.Orchestrator.Maintenance]</span><span>.</span><span>[MaintenanceWorker]</span> <span>,</span> <span>MAX_QUEUE_READERS</span> <span>=</span> 1 <span>,</span> <span>EXECUTE</span> <span>AS</span> <span>N'dbo'</span>  <span>),</span> <span>POISON_MESSAGE_HANDLING</span><span> </span><span>(</span><span>STATUS</span> <span>=</span> <span>ON</span><span>)</span>  <span>ON</span> <span>[PRIMARY]</span> </span>

<span>GO</span>

<span> </span>

<hr />

<strong>2.<span style="line-height: normal;font-family: 'times new roman';font-size: 7pt;font-style: normal;font-variant: normal">  </span>MaintenanceService</strong>

<span>USE</span><span> <span>[Orchestrator]</span></span>

<span>GO</span>

<span>/****** Object:  BrokerService [https://schemas.microsoft.com/SystemCenter/Orchestrator/Maintenance/MaintenanceService]    Script Date: 8/10/2016 7:20:22 AM ******/</span>

<span>CREATE</span><span> <span>SERVICE</span> <span>[https://schemas.microsoft.com/SystemCenter/Orchestrator/Maintenance/MaintenanceService]</span>  <span>ON</span> <span>QUEUE</span> <span>[Microsoft.SystemCenter.Orchestrator.Maintenance]</span><span>.</span><span>[MaintenanceServiceQueue]</span><span> </span><span>(</span><span>[DEFAULT]</span><span>)</span></span>

<span>GO</span>

<span> </span>

&nbsp;</blockquote>]]></content:encoded>
    </item>
  </channel>
</rss>