Direct Rule - Add Collection Rule fails - SCCM Integration

I am trying to use Add Collection Rule and add a computer to a collection using Direct Rule. It fails with the following error:-
"Failed to add rule '"Comp1.dev.com"' to collection 'Test SCCM deployment'". Configuration Manager reported an error 'ConfigMgr Error Object:
instance of SMS_ExtendedStatus
    Description = "Failed to parse WQL string SELECT * FROM SMS_R_System WHERE NetbiosName = \"\"Comp1.dev.com\"\"";
    ErrorCode = 1078464256;
    File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspobjectquery.cpp";
    Line = 1782;
    ObjectInfo = "SELECT * FROM SMS_R_System WHERE NetbiosName = \"\"Comp1.dev.com\"\"";
    Operation = "ExecQuery";
    ParameterInfo = "SELECT * FROM SMS_R_System WHERE NetbiosName = \"\"Comp1.dev.com\"\"";
    ProviderName = "WinMgmt";
    StatusCode = 2147749889;
'. Details: The SMS Provider reported an error.
But I am using Collection Value Type as Name and Resource Definition Value Type as "Resource Names". If I use Resource ID instead and add the computer resource ID - it works. The FQDN does not work.
I have added quotes "comp1.dev.com" . the screenshot below is older.
Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

It does not matter what I name the rule. Only success is using the ResourceID, but then I will to write a powershell command to get the resource id.
The Rule Definition has to be in quotes, else it says it is invalid. I have tried all combos and this does not work.
Maybe someone else who has the IP can check.
Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

Similar Messages

  • Orchestrator - Add Collection Rule - Direct Rule fails

    I am trying to use Add Collection Rule in Orchestrator and add a computer to a collection using Direct Rule. It fails with the following error:-
    "Failed to add rule '"Comp1.dev.com"' to collection 'Test SCCM deployment'". Configuration Manager reported an error 'ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
        Description = "Failed to parse WQL string SELECT * FROM SMS_R_System WHERE NetbiosName = \"\"Comp1.dev.com\"\"";
        ErrorCode = 1078464256;
        File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspobjectquery.cpp";
        Line = 1782;
        ObjectInfo = "SELECT * FROM SMS_R_System WHERE NetbiosName = \"\"Comp1.dev.com\"\"";
        Operation = "ExecQuery";
        ParameterInfo = "SELECT * FROM SMS_R_System WHERE NetbiosName = \"\"Comp1.dev.com\"\"";
        ProviderName = "WinMgmt";
        StatusCode = 2147749889;
    '. Details: The SMS Provider reported an error.
    But I am using Collection Value Type as Name and Resource Definition Value Type as "Resource Names". If I use Resource ID instead and add the computer resource ID - it works. The FQDN does not work.
    I have added quotes "comp1.dev.com" . the screenshot below is older.
    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

    Hi,
    Just tested it myself it works fine with a NetBios name, if I use a FQDN it fails. The documentation also indicates NetbiosName or ResourceID should be used.
    You can see it in the error you get as well, ObjectInfo = "SELECT * FROM SMS_R_System WHERE NetbiosName
    = \"\"Comp1.dev.com\"\"";
    http://technet.microsoft.com/en-us/library/hh967533.aspx
    Below is a screenshot
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Querying SCCM for Collection rules by Powershell

    I am trying to get a list of collections rules applied to a particular collection, in sccm. I have psbase property of a collectionrules which contains the names of the collectionrules. How do I access those collections, using powershell?

    A collection can have multiple query-based membership rules.  Each of those rules can have multiple queries.  CSVs are 2 dimensional, and don't support this type of nesting.  You could simply take the first query from the first rule, but depending
    on how the collections are defined, there could be missing information.
    XML on the other hand, can support this type of nesting.
    I haven't tested this (use at your own risk), but this could be the general idea, if you wanted to move queries from one system to another, or simply back them up.
    #Backup Collection Data from source computer
    Get-CMDeviceCollection | Export-Clixml 'c:\OldComputer\AllCollections.xml'
    #Restore to target computer (This sets the limiting collection to "All Systems" and also assumes there is only one membership rule)
    $allCollections = Import-Clixml 'c:\NewComputer\AllCollections.xml'
    $allCollections | ? {$_.isbuiltin -eq $false} | % {
    New-CMDeviceCollection -LimitingCollectionId SMS00001 -Name $_.Name
    Add-CMDeviceCollectionQueryMembershipRule -CollectionName $_.Name -RuleName $_.CollectionRules.RuleName -QueryExpression $_.CollectionRules.QueryExpression
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • SCCM Get Collection Member Fails "Failed to get members of collection. The SMS Provider reported an error"

    Full Error is:  "Failed to get members of collection '{Collection Name from "Initialize Data"}'.". The SMS Provider reported an error. Details: Generic failure
    Orchestrator 2012 R2 7.2.84.0
    Using Integration Pack 7.2 for System Center 2012 Configuration Manager
    I have a Runbook that is setup to use Get Collection Members from SCCM.  The fields are:
    Collection:  {Collection Name from "Initialize Data"}
    Collection Value Type:  Name
    When I use the Runbook Tester (or when I try to run it myself) I get the error:
    "Failed to get members of collection '{Collection Name from "Initialize Data"}'.". The SMS Provider reported an error. Details: Generic failure
    I have tried using the Collection ID and I get the same error.  From the Collection Property in Get Collection Members I can browse and see all the collections in SCCM, so I know the connection is working.
    An example of a collection I am trying to use is this:  SUM - Patch and Reboot Server - 3rd Sat 1AM .  I have tried using it with quotes and single quotes as well and I get the same error.
    The log file for SCCM looks like this when it fails:
    CSspQueryForObject :: Execute...~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    ~*~*~e:\nts_sccm_release\sms\siteserver\sdk_provider\smsprov\sspobjectquery.cpp(1782) : Failed to parse WQL string SELECT * FROM SMS_Collection WHERE Name = "{Collection Name from "Initialize Data"}"~*~*~  $$<SMS Provider><03-25-2014
    11:34:52.904+300><thread=528 (0x210)>
    ~*~*~Failed to parse WQL string SELECT * FROM SMS_Collection WHERE Name = "{Collection Name from "Initialize Data"}" ~*~*~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    Execute WQL  =SELECT * FROM SMS_Collection WHERE Name = "{Collection Name from "Initialize Data"}"~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    Execute SQL =~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    Removing Handle 1792008112 from async call map~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    ExecQueryAsync: COMPLETE SELECT * FROM SMS_Collection WHERE Name = "{Collection Name from "Initialize Data"}"~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=1862502880~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    My SCCM Administrator and I are out of ideas about what else to try.  Anyone have some ideas on what might be causing the issue? 
    MCITP | VCP4 | VCP5

    Hi,
    may I ask if you modified the log? Because of ...
    Execute WQL  =SELECT * FROM SMS_Collection WHERE Name = "{Collection Name from "Initialize Data"}"~  $$<SMS Provider><03-25-2014 11:34:52.904+300><thread=528 (0x210)>
    Have you typed or subscribe the Published Data to the Field Collection in the Activity "Get Collection Member"?
    It must be subscribed!: Click with right mouse key-> Subscribe->Published Data
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Add multiple users to SCCM 2012 collection

    I have a list of users and I want to add the users to SCCM collection. Is there any way by VB script to do this?
    \m/

    Probably, but why use VBScript at all? 2012 has cmdlets you can use for this purpose.
    http://www.microsoft.com/en-us/download/details.aspx?id=41196&WT.mc_id=rss_alldownloads_all
    EDIT: Direct link:
    http://technet.microsoft.com/en-us/library/jj821831%28v=sc.10%29.aspx
    Caveat - requires a minimum of SP1. There's no reason to not be at least on SP1 by now.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Generic CSV log collection Rule not pulling all records

    Hi,
    I created a Generic csv log collection rule with details as follows:
    Target: Windows Computer
    Directory: D:\async
    Pattern: Async*.csv
    Seperator: ,
    Expression: Params/Param[1]-matches wildcard- *
    Problem is the Csv file has around 50000 records whereas in the eventview of that rule it only shows 16853 records. I also tried with following SQL query but same results.
    select * from event.vEvent
    where EventNumber=0
    (Since this is the only csv rule I've created & I dont have any records with event 0 hence using eventnumber 0)
    I've verified first column of csv file (i.e Param[1]) doesn't contains blank records. Tried deleting & recreating Rules + CSV files but no luck.
    Please help. 

    Hi,
    As we can see all csv files that start with "Async" under D:\async foler will be collected.
    How many this kind of file exist under the directory?
    Would you please creat another simple Async.csv file and remove the original file to another folderto do a test.
    In addition, also hope the below article can be helpful:
    Monitoring Text and CSV log files in System Center Operations Manager
    http://support.microsoft.com/kb/2691973
    Regards,
    Yan Li
    Regards, Yan Li

  • A question about Logical Disk Performace collection Rules and how the Data is displayed in a Report view

    Hello
    I am currently on SCOM 2007 R2 CU6 and Window Server Operating System MP version 6.0.6989.0 (I cannot use the latest version of the MP as we still have some Windows 2000 Servers we need to support, yes I know :( )
    Any way the issue is, I have never found the Logical Disk performance counter data very reliable from SCOM.
    For example, I have a Windows 2008 R2 Server and when looking at a local Logical Disk (which holds an SQL temp DB on a busy SQL Server) and look at the performance counter
    The SCOM collection rule is called "Collection Rule for Average Disk Seconds per Transfer"
    The actual Windows Perfmon counter is called "Avg. Disk Bytes/Transfer"
    if you look at the description of the above Perfmon counter it is described as 
    "Avg. Disk Bytes/Transfer is the average number of bytes transferred to or from the disk during write or read operations."
    The problem I have is as follows:
    The resulting SCOM performance chart over several days (which has a scale ox 1x) states the value never reach 3 (e.g. maximum wa s 2.7 say). I cannot believe the a drive holding the tempDB databases for a busy SQL Server does not transfer more then 2.7 "bytes"
    of data at a given to to its tempDB databases!
    Indeed when I look at Permon on the Server and looks at this counter over say 20 minutes or so, the figure is often in the 10,000 or 30,000 bytes etc. It does fall back to 0 (zero) momentarily but mostly it is in the 1000s, or 10,000s etc.
    Therefore when my boss says show me the "Avg. Disk Bytes/Transfer" and SCOM says it has not exceeded 2.7 over the last business week (i.e. the chart never peak above this value on the chart with scale 1x) he naturally does not believe it!!
    Any advice please regarding the above. Is it the fact if the counter ever falls to zero it messes up the SCOM report charts?
    Thanks
    AAnotherUser
    AAnotherUser__

    Create your own collection rule, to mirror the sample times, and what not.  Look at the data from your rule vs the mp default rule.  It probably has to do with the chart scale imho.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • Need to generate a report for Event collection rules created in SCOM

    Hi All,
    Can any one let me know where can i get a report of the Event based collection rules created in SCOM (For default and custom made).
    I used the below report but it gives the collection rules which are performance counter based not event collection based.
    Reporting -> Microsoft Generic report library ->Performance detail (Gives performance based Collection rule but not event based). Can any one help.
    Gautam.75801

    what is your objects setting?
    Suppose, I want to display the Windows Restart Event which is collected by "collection rule for windows Restarted Events" . from the Rules pane in Authoring workpsace, "collection rule for windows Restarted Events" is target on windows
    Server Operating system. As a result, my "custom event" report setting as
    1) Objects: objects instance of windows Operating system
    2) rules filter by rules name contains "windows Restarted Events"
    Roger

  • Mail crashes when I try to add a rule

    I'm running 10.6.8. I have a somewhat large and complex mail folder. Everytime I try to add a rule mail gives me the spinning beach ball of death. I'm tried throwing away the rule plist. I've tried a clean install on a new disk with nothing on the disk added except firefox and flash. I've been on the phone with Applecare numerous times. Anyone have any ideas? Should I just give up?
    Does anyone know if Mail has a size limit for mail or for how many layers folders can be nested?
    Keith Sanborn

    can't make much of this crash log but try this. when you get to the smtp server page in setup assistant hold option while clicking "create" or 'continue". this will skip the actual server validation and might prevent crashing.

  • Add update rule for new key figure in one info struc

    Hi, everyone
    I would like to know how to add update rule for new key figure in one info struc.
    Thanks ahead.
    Eric

    1)I have created the update rule for one info structure
    2)add one key figure in the info structure due to business requirement
    3)then I use MC25 to add update rule for the new key figure, but I find that there no relevant menu to do such operation.
    Can anybody tell me how to do with it?
    Any answer will be appriciated.

  • HOW TO ADD BUSINESS RULES

    HI EVERY ONE,
      I HAVE A REQUIREMENT WORKING ON MM , I HAVE SOME BUSINESS RULES IN FUNCTIONAL DESIGN DOCUMENT AND I NEED TO WRITE THE TECH DESIGN . MY QUESTION IS HOW TO ADD BUSINESS RULES IN TECH SPEC. EXAMPLE I HAVE FINAL DUE DATE AS BUSINESS RULE i.e,
    Final Due Date = Baseline Date + Maximum Day Term
    If Clearing Date is = Final Due Date = Invoice is Paid-On Time
    If Clearing Date is < Final Due Date = Invoice is Paid Early.
    If Clearing Date is > Final Due Date = Invoice is Paid Late
       I have the data available for Final Due date from R3 .
    So after creating the Info Object( characteristic), where can I add this formula for that Z INFO OBJECT ?  I have total of 5 business rules like this in my funtional doc
    Help will be appreciated . Points will be assigned if my problem solved...
    thanks

    Hi Harish,
    With the assumptions:
    1. You are using a BI 2004s system
    2. The fields Baseline Date, Clearing Date & Maximum Day Term are being sourced from R/3
    The rules can be coded into the End Routine in the Transformation.
    If you are using a BW 3.x system, this logic can be coded in the Start Routine at the Transfer Rules or the Start Routine at the Update Rules.
    Hope this helps.
    Regards,
    Shrikant

  • When I add a rule to mail preferences, they don't work at all

    When I add a rule to mail preferences, they don't work at all

    One thing to remember is that mail rules are only executed on incoming email.  To run a rule against existing email, Mail > Message > Apply rule.
    Captfred

  • Add Routing Rule

    how to create new routing table?
    how to add routing rule to route table?

    Hi!
    I supose your network configuration is OK.
    I have some problems in order to configure mine under Solaris 10. But trying to change this, I found something that can help you.
    In a terminal window, type "man route". I could add a new one, but, because I am not able to find how to change the IP gateway, it returns me an error.
    I hope this can help you
    Zenaida

  • Add conversion rule in SCOT

    Hello all,
    Can any one please help me with how to add conversion rule in SCOT to convert .ali file format to .csv file format?
    Thanks in advance.

    Hi,
    Please find below link. May be these are helpful to you.
    http://scn.sap.com/thread/717106
    http://help.sap.com/saphelp_nw70/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/39/4d3d3d9ba00645e10000000a114084/content.htm
    Regards,
    Saket S. Ghanekar

  • Collection Rules

    Hi all,
    I am trying to figure the collection rules, I just pull out information from this community to define this rules.
    But it seem that on my SAP version I do not have access to the t-code UDM_BASIS_RULE. Is this normal, does my
    IT department need to active it on our SAP?
    Thank you

    what role are you playing on the project?
    As stated you can configure collection rules via SPRO.
    It is worth noting that SAP delivers 20 or so standard collection rules - they normally are enough.
    Once you have your rules, they need to be added to a strategy, which in turn needs to be added to a Collection Group.

Maybe you are looking for

  • Mail server working sending emails between user accounts but not to other (outside) email accounts?

    Hi! I am new to Mac OS X Server Mail and I am trying to set up.  I have successfully started the mail services and created 2 user accounts.  Those accounts can email each other back and forth, no problem; however, they cannot send/receive to other em

  • Question about ADF Menu Navigation

    i create an adf application, include ADF Menus for Page Navigation. i found the URL displayed in the browser always show previous page when switch between different tabs. http://dl.dropbox.com/u/6517186/Application14.7z this is the application I've c

  • Inbound Proxy created as Synchronous

    Hello, How do I determine the mode (synchronous/asynchronous) when I create a proxy?  I am trying to create an asynchronous inbound proxy and when I hit "generate" in SPROXY I get a synchronous proxy. Thanks, Matt

  • Search window in safari does not work after first search item

    After browsing on web page, entering search term in the search window results in no search. The window will not reset(set default to google)and will not search. Only way of searching is to quit safari, retype or paste the search term ( which is saved

  • [RMS] Attach a document into a node of a record

    Hi, We have a problem inserting a document into a node of the tree of a record. When a user save the record or changes any attribute, we need to validate the record state. If the state validation is correct, we have to add a document that exists in c