This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Azure Active Directory / Exchange Online

Hi All,

        I have configured Azure Active Directory and Exchange Online as per documentation on 1IM 7.1.3 environment. I have completed both synchronization jobs successfully, and system loaded all data from Target systems to 1IM.  Now I tried to assign Subscription to a user, and following error recorded into 1IM Jbb server log file.

The errors says 'License assignment cannot be done for user with invalid usage location' & 'Code: Request_BadRequest'

I didn't change any OOTB connector functionality, Do i need to change any?

thanks in advance,

Jaipal.

2018-08-28 12:19:47 -04:00 - \ServerName - VI.Projector.JobComponent.ProjectorComponent - 5dde09e5-de24-47a6-8675-44ff96357bb1: Errors occured
[1777018] Error executing synchronization project (Azure Active Directory tenant 'xxx')'s workflow (Provisioning).
[1777124] Error executing projection step (LicenseAssignments) of projection configuration (Provisioning (Provisioning)).
[1777219] Error executing synchronization step (LicenseAssignments)!
[1777004] Method (Insert (Insert)) could not be executed successfully.
[System.Exception] [Exception]: ServiceException occured
Code: Request_BadRequest
Message: License assignment cannot be done for user with invalid usage location.
[ServiceException]: Code: Request_BadRequest - Message: License assignment cannot be done for user with invalid usage location.
[System.Exception] ServiceException occured
Code: Request_BadRequest
Message: License assignment cannot be done for user with invalid usage location.
[Microsoft.Graph.ServiceException] Exception of type 'Microsoft.Graph.ServiceException' was thrown.
at VI.Projector.JobComponent.ProjectorComponent._AdHocProjection()
at VI.Projector.Database.ProjectorExecutor.Project(ISession session, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken)
at VI.Projector.Projection.Extensions.Execute(IProjectorEngine engine, IProjectionConfiguration configuration, ProjectionOption options, ISystemObject adHocObject, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
---- Start of Inner Exception ----
at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
---- Start of Inner Exception ----
at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
---- Start of Inner Exception ----
at VI.Projector.Projection.ProjectorEngine.<ExecuteAsync>d__3.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.Projector.Projection.Internal.ProjectorEngineExecutionHelper.<ExecuteStepAsync>d__2.MoveNext()
---- Start of Inner Exception ----
at VI.Projector.Projection.Internal.ProjectorEngineExecutionHelper.<ExecuteStepAsync>d__2.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at VI.Projector.Projection.Internal.ProjectorEngineExecutionHelper.<_ProcessDifferenceSetAsync>d__10.MoveNext()
at VI.Projector.Projection.Internal.ProjectorEngineExecutionHelper._ExecuteMethods(IProjectionStep step, SystemObjectMatchingSet matchingSet, ISystemConnection connection, ISchemaMethodAssignment[] methodAssignments, IList`1 systemObjectPairs, SystemMappingSide side, ProjectionDirection projectionDirection, Boolean forceReloadObject, Boolean ignoreQuotas)
at VI.Projector.Projection.Internal.ProjectorEngineExecutionHelper._ExecuteMethodNative(ISystemConnection connection, SystemObjectMatchingSet matchingSet, ISchemaMethod method, IEnumerable`1 objectsWithAncestryToExecute, Boolean reloadObjects, Boolean isImport)
at VI.Projector.Connection.SystemConnection.ExecuteMethod(ISchemaMethod method, IEnumerable`1 systemObjects, ExecuteMethodOptions option)
---- Start of Inner Exception ----
at VI.Projector.Connection.SystemConnection.ExecuteMethod(ISchemaMethod method, IEnumerable`1 systemObjects, ExecuteMethodOptions option)
at VI.Projector.Journal.JournalConnector.OnExecuteMethod(ExecuteMethodRequest request)
at VI.Projector.Connection.Connectors.BottleNeckConnector._Redirect[T](Func`1 redirection)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
---- Start of Inner Exception ----
at VI.Projector.Connection.Connectors.BottleNeckConnectorTask.Execute()
at VI.Projector.Connection.SystemConnector.ExecuteMethod(ExecuteMethodRequest request)
at VI.Projector.Connection.SystemConnector.CommitObject(CommitObjectRequest request)
at VI.Projector.MicrosoftGraph.BaseGraphEntityHandler.CommitObject(CommitObjectRequest request)
---- Start of Inner Exception ----

---- Start of Inner Exception ----
at Microsoft.Graph.BaseRequest.<SendAsync>d__27`1.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.Graph.BaseRequest.<SendRequestAsync>d__29.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.Graph.HttpProvider.<SendAsync>d__19.MoveNext()
Synchronization ended with errors.
You can find more detailed information in the log from Tuesday, August 28, 2018.

Parents
  • Looking at the execution plan for the License Assignments step I don't see us setting usage location however it is in the user creation step. As you said though these users were synchronized in from Azure so it would take whatever properties were set in the target. If that was not set then that sounds like your issue

Reply
  • Looking at the execution plan for the License Assignments step I don't see us setting usage location however it is in the user creation step. As you said though these users were synchronized in from Azure so it would take whatever properties were set in the target. If that was not set then that sounds like your issue

Children
No Data