Identity Broker Forum
Welcome to the community forum for Identity 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.
API limit for GAPPs service account
Hi Adam
Can you please help me answer these questions as Google has asked me the same. I had requested higher API limits for our accounts. Currently I am chewing threw them .. probably at some rate of around 30000 accounts for 150k API Calls.. have gone through 3 accounts already and have managed just to push out 70-80k object changes
The number of users. - About 300,000
Average number of requests per day/per user (calculation describing your expected usage of the API).
Which API methods will be called and what will be the frequency?Are you polling the API changes to user resources?
GoogleApps Error - Stream was not readable
Hi
Today we are seeing the following error in gapps contacts and calendar
20150602,23:59:55,UNIFY Identity Broker,Change detection engine,Error,"Change detection engine import all items failed.
Change detection engine import all items for connector gappsCalendarConnector failed with reason Stream was not readable.. Duration: 00:00:00.7488192
Error details:
System.ArgumentException: Stream was not readable.
20150602,23:59:55,UNIFY Identity Broker,Change detection engine,Error,"Change detection engine import all items failed.
Change detection engine import all items for connector gappsSharedContactConnector failed with reason Stream was not readable.. Duration: 00:00:00.6240160
Error details:
System.ArgumentException: Stream was not readable.
Our developer has tested the fim-svc credentials with oauth 2.0 and he says the credentials are fine.
We are seeing this in our DEV and QAT google environments.. but not with users..
Any idea on what is causing this?
Unclear as to how to edit an adapter DN
Just some immediate gut reactions to trying to configure an adapter DN (before I have long enough to think like a developer and justify it)
- It's a bit confusing as to how to go to edit the DN template. The path you take is to "Edit Adapter Properties" and on its second screen, but I wouldn't have immediately known by looking at it. This is also a bit confusing after IdB 4 lets you click directly on the DN template button
- Mousing over the template shows the "Edit" word at the very right hand side of the template window. My instinct was to go "yes I do want to edit it, click where my mouse is to edit it". Instead, you have to go over to the Edit button to do so.
Would be worth getting some other opinions on how people feel when using it but those were my immediate reactions
Register WCF endpoint during installation
Currently the service requires local admin to register it automatically or it must be registered manually. Have had numerous requests to see if we can automate this, most recently from Aurion Corp. Alternatively we'll need to include the script in the installer or something so that the process is much easier.
Add StatusID field to attribute mappers
When StatusID configured as a string:
20130530,02:56:45,An entity failed validation.,Connector Processor,Warning,The entity eab7a3e2-6529-4a59-844e-ff4cf9b089a8 on connector 960b25bd-e59a-46a1-a90b-f24d53f24dc0 failed validation 1 times for the following reasons: Type ShortValue of value 1 in field StatusID is invalid. Expected type StringValue.,Normal
Same for when configured as int. As per IDB-71 the short validator is in v4.0.
Add mapping from short to int.
System.Data.SqlClient.SqlException - (Deadlock)
The following error is being investigated with internal sql dba's. Whenever i attempt to do a full import from the ADW MA it will begin to generate the UNIFYFull.txt file "file partially built) then fails with a stopped-extension-dll-exception.
Error occurred in module: Adapter Adapter get all entities for adapter db19b111-cc07-4343-b668-5caa25efe771 failed with reason Transaction (Process ID 105) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.. Duration: 00:01:47.9019691 Error details: System.Data.SqlClient.SqlException: Transaction (Process ID 105) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReaderBase`1.Read() at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArrayTSource(IEnumerable`1 source) at Unify.Framework.LinqWhereQuery`5.GetEnumerator() at Unify.Framework.QueryableExtensions.<AutoStream>d_b`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at Unify.Framework.EnumerableExtensions.<ProduceAutoPages>d9`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at Unify.Framework.EnumerableExtensions.<ActionOnLast>d16`1.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d14`2.MoveNext() at Unify.Framework.EnumerableExtensions.<ActionOnLast>d16`1.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d14`2.MoveNext() at Unify.Framework.EnumerableExtensions.<ActionOnFirst>d1c`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at Unify.Framework.ActionOnExceptionEnumerator`1.MoveNext() at Unify.Framework.EnumerableExtensions.<ActionOnLast>d16`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d14`2.MoveNext() at System.Linq.Enumerable.<ConcatIterator>d71`1.MoveNext() at Unify.Framework.LDIFComponentFileGenerator`1.GenerateFile(TextWriter writer, IEnumerable`1 entries) at Unify.Framework.LDIFAdapter.<>cDisplayClass5`1.<CreateLDIFComponentStream>b_4(Stream stream) at Unify.Framework.LazyEvaluationStream.Evaluate(Object obj)
Page display issues in IE 8
I've attached two screen shots of how Identity Broker 5.0.1 is rendered in IE8, which according to the documentation is supported (IE8+). I've had access to two systems with IE8, both of which exhibit these symptoms. The first being a Windows Server 2008 system and the other a clean install of Windows 7 that I made in Azure specifically to see if this issue was reproducible.
As can be seen below, quirks mode is functional but misformed. In standards mode much of the page is obscured by the upper pane, including most of the controls associated with the connectors or adapters pages.
Browser Mode: IE 8, Document Mode: Internet Explorer 8 Standards
Browser Mode: IE 8, Document Mode: Quirks
In both cases Identity Broker is running on the embedded web server. Screenshots taken with 8.0.7601.17514 of IE.
quirks mode.png
screenshot.png
Null reference during logging
I am receiving an alert on the home page on my local build when it is browsed to.
If no other log writers are configured, any issues may be missed. The exception details are as follows:
System.NullReferenceException: Object reference not set to an instance of an object.
at Unify.Framework.Logging.ExceptionLogEntry.get_LogEntryModule() in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging\ExceptionLogEntry.cs:line 71
at Unify.Framework.Logging.CsvLogWriter.WriteLogEntryBase(ILogEntry logEntry, String filePath) in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.Writer\CsvLogWriter.cs:line 61
at Unify.Framework.Logging.CsvLogReaderWriter.<>n__FabricatedMethod1b(ILogEntry , String )
at Unify.Framework.Logging.CsvLogReaderWriter.<>c_DisplayClass19.b_16() in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.Writer\CsvLogReaderWriter.cs:line 455
at Unify.Framework.ExtensionMethods.WaitOnMutex(Mutex mutex, Action work) in c:\workspaces\DEV\FrameworkCore\Source\Scheduling\Unify.Framework.Scheduling.Job\JobExtensionMethods.cs:line 21
at Unify.Framework.Logging.CsvLogReaderWriter.WriteLogEntryBase(ILogEntry logEntry, String filePath) in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.Writer\CsvLogReaderWriter.cs:line 459
at Unify.Framework.Logging.FileLogWriterBase.<>c_DisplayClass5.b_4() in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.Writer\FileLogWriterBase.cs:line 298
at Unify.Framework.ExtensionMethods.WaitOnMutex(Mutex mutex, Action work) in c:\workspaces\DEV\FrameworkCore\Source\Scheduling\Unify.Framework.Scheduling.Job\JobExtensionMethods.cs:line 21
at Unify.Framework.Logging.FileLogWriterBase.InternalWriteLogEntry(ILogEntry logEntry, String filePath) in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.Writer\FileLogWriterBase.cs:line 299
at Unify.Framework.Logging.FileLogWriterBase.WriteLogEntryBase(IBrandedLogEntry logEntry) in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.Writer\FileLogWriterBase.cs:line 127
at Unify.Framework.Logging.LogWriterBase.WriteLogEntry(IBrandedLogEntry logEntry) in c:\workspaces\DEV\FrameworkCore\Source\Logging\Unify.Framework.Logging.WinEventLogWriter\LogWriterBase.cs:line 46
Composite Aurion connectors required
A number of projects involving Aurion stall for a number of reasons, mostly to do with Aurion's API.
A topic on INTIDBAUR:Aurion project risk mitigation strategies has been commenced and will hopefully be completed in the next couple of days.
However, the only successful treatment will be to eventually get enough pressure on Aurion to fix the issue at their end. Some of our workarounds will only work for small datasets, or internally hosted solutions, and some of these end up being difficult to maintain. At present, however, the impact is critical.
As all Aurion teams will now be instructed to perform some treatment by insisting the client informs Aurion of any issue, and this being enforced through the new project management office, a version of the connector that permits composition of one of the following options is required to ensure current projects are not blocked:
- A way of using the filter mechanism on the QUERY_TO_XML function to perform the same query with different filter parameters, resulting in the retrieval of all relevant data by requests that can be performed within the time-out period.
- A away of using multiple queries with the same data schema to retrieve all relevant data by requests that can be performed within the time-out period.
At no time is this to be considered a permanent resolution to the Aurion query performance issue.
Service fails to start if base connector cannot be found
The following is logged on service startup if the base connector cannot be found.
Service cannot be started. Unify.Framework.UnifyServiceInitializeException: A connector matching the id 'bf96de17-ee6f-490a-b3c3-77a18435a734' could not be located. ---> Unify.Framework.UnifyEngineException: A connector matching the id 'bf96de17-ee6f-490a-b3c3-77a18435a734' could not be located.
at Unify.Product.IdentityBroker.ConnectorRepository.GetConnectorSchema(Guid connectorId)
at Unify.Product.IdentityBroker.EventNotifierConnectorRepositoryDecorator.GetConnectorSchema(Guid connectorId)
at Unify.Product.IdentityBroker.Adapter.RefreshColumnSources(IEntityChangeDetector entityChangeDetector, IEnumerable`1 existingChangeProcessorConnectorIds, Func`5 createColumnSourcesFunction, Action`3 addBaseConnectorChangeProcessorAction)
at Unify.Product.IdentityBroker.AdapterEngine.RefreshColumnSources(Guid adapterId)
at Unify.Product.IdentityBroker.AdapterEngine.<.ctor>b__2(IOperationalAdapterBase`2 adapter)
at Unify.Product.IdentityBroker.AdapterAdded`1.Invoke(TAdapterType adapter)
at Unify.Product.IdentityBroker...
Customer support service by UserEcho