MIM Event Broker Forum

Welcome to the community forum for MIM Event Broker.

Browse the knowledge base, ask questions directly to the product group, or leverage the community to get answers. Leave ideas for new features and vote for the features or bug fixes you want most.

+7
Completed

REST API to access Event Broker service methods directly

Bob Bradley 2 years ago • updated by anonymous 9 months ago 1

I know this is somewhere on the roadmap, but I thought I'd give you a specific example of how I would like to use this to lookup the Operation List name for a corresponding guid from within a PowerShell script. I know this method exists on the WCF endpoint because it is exposed in the WSDL. However it is not a simple exercise to access this from PowerShell.


For the time being I have a work-around which relies on looking up the Event Broker registry key to determine the extensibility file path, then querying the operations extensibility xml directly. However the limitation here is that this will only work if the script is running locally on the Event Broker service host.

Answer
anonymous 9 months ago

Now that this has been proven in Identity Broker we'll look at this for MIM Event Broker.

+4
Completed

Event Broker agent wizard leads to "The server is unwilling to process the request" exception for specific OU

Bob Bradley 2 years ago • updated by anonymous 5 months ago 10

When an OU is configured for an AD agent that is NOT the domain root (e.g. "OU=Employees,DC=mim2016,DC=local") we get the following exception when the generated incoming operation list is activated:


Operation faulted: The server is unwilling to process the request. - Please see the log viewer for more details.

This is because the AD Sync Changes check operation uses the full DN for the "Domain" property instead of the DC part only (i.e. "DC=mim2016,DC=local").


To avoid this error the AD sync changes operation needs to extract the DC DN from the full DN supplied.

Answer
anonymous 5 months ago

Fixed in 4.0

+2
Fixed

Event Broker Operation management halts with Blank screen

Shane Day (Chief Technology Officer) 2 years ago • updated by anonymous 1 year ago 4
Hi Product Team!
Attempting to delete operations from "/Operation" (Operation Lists Page) is met with a blank screen. The URL redirects to "/Operation/ModifyOperationLists" but the page is blank.
The only way to delete operations via the GUI is to Open the operation from the operations list. Click Actions and Delete from within the Operation. Even attempting to delete the operation this way acts strange.. When attempting to delete from within the operation the "Are you sure" window pops up for a second and automatically submits the deletion without confirmation.
Happy to ellab on this if required.

Item originally from Ryan Crossignham from PRODUCT-389

screen2.png - Latest 21/Sep/15 4:47 PM - Ryan Crossingham
+1
Completed

Email logger does not support multiple TO email addresses

Bob Bradley 2 years ago • updated by anonymous 8 months ago 4

Presently the TO address supports only a single target email address. However this field is multi-valued in the sendmail API and the logger could easily be extended to support this. There is no tooltip on this field so it was not intuitive that this restriction applied - however attempts using "," and ";" delimiters both failed. Work-arounds include setting up multiple loggers, or using a distribution list. However there are times when this would still be handy - especially when d-lists are not easily modified or the requirement is only temproary.

Answer
anonymous 8 months ago

Added ability to have logs emailed to multiple addresses. Will be included in the next release.

+1
Completed

Incorporate progress bar on executing operations

Bob Bradley 2 years ago • updated by anonymous 5 months ago 3

With the release of Ryan Newington's latest Lithnet miis-powershell module it occurred to me that it may be possible in some scenarios (e.g. full imports vs. delta imports) to leverage the progress bar idea for the Event Broker console.

Answer
anonymous 5 months ago

To be investigated during UI rewrite.

+1
Completed

Preferred DC list for AD agents

Bob Bradley 2 years ago • updated by anonymous 8 months ago 10

The native AD MA for the FIM Sync service has long had an optional configuration section for preferred DCs, so that administrators can nominate an ordered list of preferred DCs to connect to for imports/exports. When this is used with Event Broker, especially in forests where there are delays in AD replication between DCs, the result can be that Event Broker detects a change before it is replicated to the DC from which FIM is connecting. This generally results in a missed change.


A feature to configure the AD agent exactly in line with that in the corresponding AD MA is suggested here.

0
Under review

Event Broker Monitoring

Bob Bradley 1 day ago • updated by Adam van Vliet (Product Manager) 1 day ago 1

Further to the basic concepts from https://voice.unifysolutions.net/communities/5/topics/1964-create-alerts-for-informing-end-user-of-important-events, a situation arose this week with a customer where a critical operation list had been disabled and not re-enabled in a timely fashion.  In this case we still don't know how this happened - other than it wasn't anyone from UNIFY (no access at the time) and it wasn't the Safety Catch.

What I am thinking of configuring is a PowerShell script which sends an email notification in the event that an operation list is detected as disabled for longer than a configurable period of time (e.g. put operation lists in a "watch group" and if any one of these operations is detected as disabled at the time of the check/probe, then start a counter ... and if after say 3 consecutive probes the operation list is still disabled, generate an alert.

This would be a useful feature to come OOTB, however ... i.e. its own health monitoring capability.  This could be a tab in its own right, configured with a number of operations independent of the "normal" operation lists.  Needs some thought.

0
Fixed

MIM Event Broker - Error

Dilip Ramakrishnan 4 days ago • updated by Curtis Lusmore 3 days ago 3

Environment:

OS: Windows Server 2016

MIM Event Broker: v 4.0.1 RTM x64

After successful installation of MIM Event Broker and copy of 3 config files (Operation engine, Agent engine, GroupEngine), accessing the EB URL results in this error below:

Server Error in '/' Application.

Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.



Event Viewer Log

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          21/02/2018 10:48:01 AM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      winvdmim01.devparl.nsw.gov.au
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 21/02/2018 10:48:01 AM
Event time (UTC): 20/02/2018 11:48:01 PM
Event ID: 311fa6ab5c1a427ba0fa14f6a4f6ec12
Event sequence: 4
Event occurrence: 2
Event detail code: 0
 
Application information:
    Application domain: 17c438b0-1-131636439352711348
    Trust level: Full
    Application Virtual Path: /
    Application Path: D:\Program Files\UNIFY Solutions\Event Broker\Web\
    Machine name: WINVDMIM01
 
Process information:
    Process ID: 8168
    Process name: Unify.Service.Event.exe
    Account name: DEVPARL\svc_UNIFYevB
 
Exception information:
    Exception type: TypeInitializationException
    Exception message: The type initializer for 'Unify.EventBroker.Web.EventServiceClientInstance' threw an exception.
   at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
   at ASP.global_asax..ctor()

Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.
   at Unify.Framework.TimingGenerator..ctor()
   at Unify.Framework.Logging.LoggingEngineClient..ctor(ILoggingEngineCollector collector) in C:\agent\_work\23\s\Source\Logging\Unify.Framework.Logging.Engine.Shared\LoggingEngineClient.cs:line 25
   at Unify.EventBroker.Web.EventServiceClientInstance.CreateComponent(EndpointAddress serviceEndpointAddress) in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 53
   at Unify.EventBroker.Web.EventServiceClientInstance..cctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 32

 
 
Request information:
    Request URL: http://localhost:8080/
    Request path: /
    User host address: 127.0.0.1
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: DEVPARL\svc_UNIFYevB
 
Thread information:
    Thread ID: 4
    Thread account name: DEVPARL\svc_UNIFYevB
    Is impersonating: False
    Stack trace:    at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
   at ASP.global_asax..ctor()
 
 
Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 4.0.30319.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2018-02-20T23:48:01.733210900Z" />
    <EventRecordID>327715</EventRecordID>
    <Channel>Application</Channel>
    <Computer>winvdmim01.devparl.nsw.gov.au</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>21/02/2018 10:48:01 AM</Data>
    <Data>20/02/2018 11:48:01 PM</Data>
    <Data>311fa6ab5c1a427ba0fa14f6a4f6ec12</Data>
    <Data>4</Data>
    <Data>2</Data>
    <Data>0</Data>
    <Data>17c438b0-1-131636439352711348</Data>
    <Data>Full</Data>
    <Data>/</Data>
    <Data>D:\Program Files\UNIFY Solutions\Event Broker\Web\</Data>
    <Data>WINVDMIM01</Data>
    <Data>
    </Data>
    <Data>8168</Data>
    <Data>Unify.Service.Event.exe</Data>
    <Data>DEVPARL\svc_UNIFYevB</Data>
    <Data>TypeInitializationException</Data>
    <Data>The type initializer for 'Unify.EventBroker.Web.EventServiceClientInstance' threw an exception.
   at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
   at ASP.global_asax..ctor()

Could not load file or assembly 'Unify.Framework.Collections, Version=5.2.0.0, Culture=neutral, PublicKeyToken=84b9288cb2633de4' or one of its dependencies. The system cannot find the file specified.
   at Unify.Framework.TimingGenerator..ctor()
   at Unify.Framework.Logging.LoggingEngineClient..ctor(ILoggingEngineCollector collector) in C:\agent\_work\23\s\Source\Logging\Unify.Framework.Logging.Engine.Shared\LoggingEngineClient.cs:line 25
   at Unify.EventBroker.Web.EventServiceClientInstance.CreateComponent(EndpointAddress serviceEndpointAddress) in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 53
   at Unify.EventBroker.Web.EventServiceClientInstance..cctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Extensions\EventServiceClientInstance.cs:line 32

</Data>
    <Data>http://localhost:8080/</Data>
    <Data>/</Data>
    <Data>127.0.0.1</Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>DEVPARL\svc_UNIFYevB</Data>
    <Data>4</Data>
    <Data>DEVPARL\svc_UNIFYevB</Data>
    <Data>False</Data>
    <Data>   at Unify.EventBroker.Web.MvcApplication..ctor() in C:\agent\_work\22\s\Source\Unify.EventBroker.Web\Global.asax.cs:line 33
   at ASP.global_asax..ctor()
</Data>
  </EventData>
</Event>


Answer
Curtis Lusmore 3 days ago

Hi Dilip,

Please see EVB 4.0 Assembly Load Issue.

0
Answered

Event Broker won't allow password containing metacharacters

Adrian Corston 2 weeks ago • updated by Curtis Lusmore 2 weeks ago 4

Attempting to configure the MIM Agent in Event Broker using the SQL credentials provided by the customer (which meet their strict password guidelines) I see this error from Event Broker:

System.Web.HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (DatabasePassword="<redacted but includes angle brackets>").

Can you please advise how to configure Event Broker with these credentials?

Answer
Curtis Lusmore 2 weeks ago

Hi Adrian,

Could you please try placing the following patch into the Services and Web/bin directories? Unify.EventBroker.Agents.Web.dll

0
Not a bug

There were not enough free threads in the ThreadPool to complete the operation

Anthony Soquin 3 months ago • updated by anonymous 2 months ago 13

Hi,

A client reported the following error from PROD Event Broker:

Operation aa1021b4-fb70-447b-b8e2-e625079329f7 failed in operation list with id 975036c6-c301-4b07-92d5-f6757732b0bc for the following reason. This is retry number 0: Unify.Product.EventBroker.RestAPIAgentSendRequestFailedException: The sending of the request failed. See the inner exception for more information. ---> System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation.
   at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
   at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state)
   at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Unify.Product.EventBroker.RestAPIAgent.<SendPostRequestAsync>d__3.MoveNext()
   --- End of inner exception stack trace ---
   at Unify.Product.EventBroker.RestAPIPlugIn.Execute()
   at Unify.Product.EventBroker.OperationListExecutorBase.RunNextOperations(IEnumerator`1 operationEnumerator)

For info:

This error comes from the Event Broker List Operation : "IDB - STUDENT IMPORT". The operation which failed is "STUDENT UNIT IMPORT". This operation request to run an import of Identity Broker connector: "Student_Unit".

Moreover Event Broker web site is not accessible anymore.

Configuration:

Event Broker 3.2.0

Identity Broker 5.0.3

Example of the configuration in UAT:



Thanks.

Regards,

Answer
anonymous 3 months ago

Hi Anthony,

How frequently are you experiencing this error? After you saw it for the first time, has it continued to occur until a service restart or any other recovery actions?

The error simply suggests that at the time the operation started, there were too many other operations running in parallel, exhausting the thread pool. As other operations complete, threads should free up and the issue should resolve itself automatically.