Home

Results 1 to 5 of 5

Thread: Office 365 query for MSolDomain

Threaded View

  1. #1
    Join Date
    Dec 2007
    Posts
    87

    Office 365 query for MSolDomain

    Hi,

    I'd like to get list of all valid domains in office365. With Powershell I can get them with:
    (Get-MsolDomain).Name

    In otp policy I issue:
    Code:
    <do-set-local-variable name="varDomains" scope="policy">
    	<arg-node-set>
    		<token-query class-name="MSolDomain" datastore="dest">
    			<arg-string>
    				<token-text xml:space="preserve">Name</token-text>
    			</arg-string>
    		</token-query>
    	</arg-node-set>
    </do-set-local-variable>
    I can see in remote loader logs:
    Code:
    DirXML: [06.19.17 09:26:03.087]: TRACE:  Remote Loader: Calling SubscriptionShim.execute()
    DirXML: [06.19.17 09:26:03.087]: TRACE:  
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.5.5.0">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="MSolDomain" event-id="0" scope="subtree">
          <search-class class-name="MSolDomain" />
          <read-attr attr-name="Name" />
        </query>
      </input>
    </nds>
    DirXML: [06.19.17 09:26:03.087]: TRACE:  Remote Loader: SubscriptionShim.execute() returned:
    DirXML: [06.19.17 09:26:03.087]: TRACE:  
    <nds dtdversion="3.5">
      <source>
        <product instance="\IDV-T-TREE\IDV\System\DriverSet1\Office365" version="4.1.1.0" build="201612011001">Identity Manager Driver for Microsoft Office365</product>
        <contact>NetIQ, Corporation.</contact>
      </source>
      <output>
        <status level="success" event-id="0" />
      </output>
    </nds>
    How could I do that with powershell, since query is submitted directly to subscriber shim?

    Thanks, Sebastijan
    Last edited by sebastijan; 19-Jun-2017 at 08:53 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •