Skip to main content

Posts

NetIQ IDM - How to close a workflow request based on a group membership (NetIQ Userapp workflow forms)

Solution: Suppose you want to close a request form by cancelling it upon a certain condition, such as if the caller is requires to be member of a specific eDirectory group. 1. On the request form,  add a field called "recipient". i.e the caller of the form 2. Workflow->Start->Data-Item-Mapping, Add  "recipient" as the source expression 3. On the request form field "recipient", Properties add event "onload" 4  Paste the following script: function CheckGroupAccess(userDN)  {  var isMember;  var grp = IDVault.get(null,userDN,'user','group');  var access_grp = "ACCESS_GROUP_DN"; access_grp = access_grp.toLowerCase(); var lvEnt = Array(); lvEnt = grp; var EntSize = lvEnt.length-1;   for (var i = 0; i <= EntSize; i++)      {         currentEnt=lvEnt[i].toString().toLowerCase(); if (currentEnt.match(access_grp)) {isMember="x";   break ;}   else   ...

Method to provision personal sites and OneDrive for Business for multiple users in Office365

As part of new employee workflow from within the identity management we needed to pre-provision Personal sites and OneDrive for Business. After doing a quick research, I found the following article on the #msdn https://msdn.microsoft.com/en-us/library/office/jj163783.aspx which describes how using CSOM one can achieve the task. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security; using Microsoft.SharePoint.Client; using Microsoft.SharePoint.Client.UserProfiles; namespace CreatePersonalSiteBulkConsole { class Program { static void Main( string [] args) { string userName = "administrator@contoso.onmicrosoft.com" ; string passwordStr = "password" ; string serverUrl = "https://contoso-admin.sharepoint.com/" ; using ( var clientContext = new ClientContext(serverUrl)) ...

Microsoft Azure Active Directory Graph API

Got chance to work with Microsoft Azure Active Directory Graph API (api-version=1.5) to manage users, groups, licenses management etc. few of the things that I should mention here which could save a developer time to code. Azure Portal UI and Graph API object properties mapping; WORK INFO: JOB TITLE  : jobTitle DEPARTMENT : department OFFICE NUMBER: physicalDeliveryOfficeNumber OFFICE PHONE:telephoneNumber MOBILE:mobile [ a single space between country code and mobile number] STREET ADDRESS:streetAddress CITY:city STATE OR PROVINCE:state ZIP OR POSTAL CODE: COUNTRY OR REGION:country ALLOW THE USER TO SIGN IN AND ACCESS SERVICES? Account Enabled = false( INACTIVE), true(ACTIVE)  // LICENSE INFO: EXCHANGE_S_STANDARD - Exchange Online (Plan 2) MCOSTANDARD - Lync Online (Plan 2) SHAREPOINTENTERPRISE - SharePoint Online (Plan 2) SHAREPOINTWAC - Office Online OFFICESUBSCRIPTION - Office ProPlus RMS_S_ENTERPRISE - Azure Active Directory Rights...

NetIQ IDM - IDM 4.0.2 AE VDX Webservice By Exmaples SOAP

Currently working on a project where  i need to integrate a 3rd party application with the  identity manager 4.0.2 AE through its exposed SOAP based webservices such as Resource, Role, Workflow and VDX. Things to consider: a)DAL entityKey b)DAL attributeKey c)DAL attribute search  flag ( if you want to query on a attribute). d) Rights VDX Webserivce SOAP by examples: Query: SOAP Request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.novell.com/vdx/service">    <soapenv:Header/>    <soapenv:Body>       <ser:queryRequest>          <!--Optional:-->          <!--type: string-->          <ser:arg0>user</ser:arg0>          <!--Optional:-->          <ser:arg1>       ...

Delegation mailbox through EWS managed API 2.0

Goal to create NETIQ Identity Manager Driver integeration for Microsoft Exchange using EWS(Exchange Web Services) managed API 2.0 the error: ' The specified object was not found in the store. ' finally things are working fine when i poll the exchange mailbox for a specified user in the single forest single domain environment, but situation i came across was to read a resource mailbox using a different user account creds home in different AD forest using EWS.. So it was all about Delegation.. well the environment i was working was little bit different then things usually seems to be happen in dreams and in books/documentation world..  the Exchange was hosted as a "Accoutn/Resource" forest deployment fashion, that mean my user account was homed in a different forest then the Exchange resource mailbox. they way  i worked it out was by applying a powershell on the exchange mailbox such as: Add-MailboxPermission -Identity 'CN=testMailbox,OU=Tes...

Setting up Novell User Application RBpM on Windows Server 2008 R2 as Windows Service

.. Gotcha.. the everything finally is up and running , now i have following things running in my enviornment. 1. Windows Server 2008 R2 (64-bit) 2. Novell Identity Manager 4.0.1 3. Novell User Application (RBpM) Modules / Jboss/ MySQL Community Edition 5.5 4. Novell User Application (Identity Reporting Module) Module 5. Novell EAS (Event Auditing Serivce) Suse Linux postGreSQL.. I wanted to setup the auto start of Jboss on the Windows Server 2008 R2 as Window Service and I ended up with the following setup: Added %JBOSS_HOME% and %JAVA_HOME% as the System env variables. I had to stick to the JDK 1.6 /JRE x86 versions due to IDM reporting modules. Good start wiht Option2 ( Use the JavaServiceWrapper by Tanuki.) link# http://community.jboss.org/wiki/RunJBossAsAServiceOnWindows and my wrapper.conf =============================== wrapper.java.command=C:/Program Files (x86)/Java/jdk1.6.0_26/jre/bin/java wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.java.cl...

Tracing FIM2010 Portal Service

Well... lots of Fiming now a days.. To get the head into the FIM request pipeline, I really wanted to see the incoming requests to the service so that i can be comfortable with the FIM in a technical way, Being the FIM2010 Portal service as a "WCF service" helped me to use this such pretty nice tools from Microsoft SDK toolset called "SvcTraceViewer.exe".. to enable the service tracing into FIM2010 portal service resource configuration file on the server, in my case "Microsoft.ResourceManagement.Service.exe.config", i had to hook the WCF tracing this way: <system.diagnostics> <sources> <source name="System.ServiceModel.MessageLogging" switchValue="Verbose,ActivityTracing"> <listeners> <add type="System.Diagnostics.DefaultTraceListener" name="Default"> <filter type="" /> </add> <add name="ServiceModelMessageLoggin...