Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

This forum is for IT Professionals who have questions/issues or other feedback about Forefront Identity Manager (FIM) 2010 suite

older | 1 | .... | 153 | 154 | (Page 155) | 156 | 157 | .... | 204 | newer

    0 0

    Hi,

    When a request is submitted to FIM, it associates the matching MPRs to be run as part of that request. I wanted to understand how these MPRs are executed.

    1. Are these executed sequentially or in parallel? And is there any way I can control the order in which the MPRs are executed for a request?

    2. I understand the Authentication workflows in an MPR are executed one at a time, the authorization workflows in parallel and the action workflows also in parallel. Does FIM combine all the workflows from the MPRs of that request and execute? Or does it execute workflows in one MPR first and then move to workflows of next MPR?

    Thanks in advance.



    0 0

    Hi All,

    I have a custom attribute in my FIM Metaverse schema which also has attribute flows defined in the management agents. This attribute holds a value for all "Group" objects in MV.

    I removed all the defined attribute flows configured for this custom attribute and deleted this attribute from Metaverse using "Remove an attribute" in "Metaverse Designer". I do not see this attribute in MV but want to know if this attribute along with its values gets completely deleted from Metaverse Schema or will the values still exist for the groups? The reason why I am asking this is it did not take much of time to delete the attribute from metaverse although this attribute had a value for ~180,000 groups.

    Can someone confirm me this?

    Thanks,


    Veena


    0 0

    In  a single domain forest e.g. forest is myplace.local and domain is myplace.The customer has just one DC running the show.

    What benefits are there to use the AD Domain Services agent over the AD LDS agent?


    0 0

    Hi Folks,

    I am not sure if this is the correct forum category to post my query. I posted on Partners Community and they forward me to here as it's consulting case.

     http://partnersupport.microsoft.com/en-us/mpnonline/forum/mpnolazure-mpnolwinazure/identity-manager-limitations-and-compatibility/e0ebcfb0-c70e-4516-a83c-729ab275c80f?tm=1458819438569

    and here too https://social.microsoft.com/Forums/partner/en-US/a68874e4-34fe-4009-b796-daff736867ff/identity-manager-limitations-and-compatibility?forum=technicalqueries

    Anyway I hope this is the correct Forum :D

    A customer with 600 users would like to have a centralizing authentication and access permission in other terms roles based authentication, single sign on.

    Customer current production apps "in-house applications + IFS-ERP + Web Apps + Sharepoint 2016 as a document library "will be installed" + McAfee endpoint encryption for laptops owners "100 user".

    Question 1 # What's the best solution for the customer needs MIM? or there's another Product/Cloud Servers.

    Question 2 # Regarding the compatibility with 3rd party applications such as McAfee Endpoint Encryption is it compatible? and how can I tell if it's supported or not with his other 3rd party apps and web sites.

    Question 3 # is their any MIM Client will be installed on the clients machines laptops or workstations? and if "YES" is there a limitation with the client OS version as a minimum requirements for clients? I checked this page https://technet.microsoft.com/en-us/library/mt613167.aspx but still I am not sure about the client side.

    Question 4 # SharePoint 2016 supported or not for the MIM Portal and also to integrate with as a Document Library for the whole company to use.

    Question 5 # what is the best solution for him on-prime or cloud? note customer internet connection microwave 10mb.

    Question 6 and last # there's no hardware recommendations for MIM 2016 .. only FIM 2010 and only mentioned the Memory as Minimum 8GB. where I can get this info? for example disk space recommendations and CPU needs !


    0 0

    Article "Supported Platforms for MIM 2016" (https://technet.microsoft.com/en-us/library/mt613167.aspx) states only Visual Studio 2012 and 2013 as supported development platforms. Visual Studio 2015 is out for a while now. Are there any concerns not to use this latest version?

    0 0

    Hi all,

    I was running an openLDAP MA in my FIM 4.0.2592.0, and it used to work well.

    To solve a memory leak, I installed the hotfix 4.0.3644.2, but than I'm having a weird issue with my openLDAP MA.

    I have a rule extension that uses the CSEntry "hierarchy" attribute, with the following rule :

    mventry["departmentHierarchy"].Value = csentry["hierarchy"].Value;

    This code used to work well before the hotfix, but now it can't see the csentry hierarcgy attribute (and it's present and valued for all my entries).

    At the moment I don't have any clue to where to start looking, can someone please help me to find out what is happening?

    Thanks in advance for all your help,

    Marc


    0 0

    Hello All:

    I worked with FIMOV tool to retrieve all the documentation of production environment, all worked fine, but when I try to get MA-DATA information I got "undefinitely issue" and the data doesnt load.

    Someone takes the same issue? and knows how to fix it? Thanks

    Regards


    0 0

    Hi,

    In FIM, when I submit a Create request, it creates multiple FIM requests internally to process. Each request will have multiple MPRs
    associated with it. I want to track the status of these requests and send the status back to the caller to display appropriate error message.
    But the challenge is the MPRs are run in parallel. So how do I track the MPRs (or rather any failure in the activities) and collate the response from each and send to the caller so that in the caller I can decide if the request was successful or failure?

    Basically I should be able to send any error in the activities to the caller. Since multiple activities will be running for each request, multiple responses received from activities for single request should be mapped to that request.


    0 0

    Hello,

    So here is the setup

    Only the AD and FIM MA are configured

    FIM Portal Declarative Import rule from AD to FIM - with all the standard attributes including phone, mobile, office
    FIM Portal Declarative Output rule from FIM to AD - with only phone, mobile, office

    FIM MA configured with Import and Export attribute flows for phone, mobile, office
    Export only for everything else

    Equal precedence configured on phone, mobile and office in FIM Sync

    Users will be created in AD outside of FIM

    Users need to update their phone, mobile, office using the FIM Portal

    What should my run sequence be?

    After the initial Full Import loads I can't find an order that will get Delta Import/Delta Sync run profiles to reliably flow changes from the FIM Portal to AD

    Ideally I want to capture everything from AD, provision to FIM Portal and then if there are changes in FIM Portal feed these back to AD. If either phone, mobile or office are updated in AD I am happy for the change to be lost... it should be done through the FIM Portal


    0 0

    A wonderful week of news and new technology advances from Build this week have filled our minds with new possiblilities!

    So much to play with!

    Can you help us document some of the new features coming out over the next year?

    Do you have a good grasp on how we should now be doing that thing that we do?

    Did you find a knowledge gap in the web for the new features now available?

    This is a great chance to jump into the TechNet Guru competition and stamp your authority on your favoutrite subject.

    All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

    Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

    This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

    HOW TO WIN

    1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

    2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

    3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

    If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

    Winning this award in your favoured technology will help us learn the active members in each community.

    Below are February's mighty winners and contenders. We should have March's winners by about mid month.

    Guru Award  BizTalk Technical Guru - February 2016  

    Gold Award Winner

    Steef-Jan Wiggers BizTalk Server Convoy Sandro Pereira: "Explaining what it is and its concepts, it as well, so important as explain how it's done. Very good choice of topic, really well explained and in clearly way. Great job Steef-Jan. For me the best of the month. "
    Ed Price: "The diagrams really bring this alive!"
    LG: "It is really full description of one of the complex idea in BizTalk." 

    Silver Award Winner

    Eldert Grootenboer Deploying web services with BizTalk Deployment Framework Ed Price: "Thank you! This is a much-needed scenario that's very well written!"
    Sandro Pereira: "Again well explain and in clearly way, an excellent article for BTDF lovers :). Great job."

    Bronze Award Winner

    lanax Continuous deployment - BizTalk Applications built using BTDF and Octopus deploy Sandro Pereira: "Good article, nice to see people right about new tools and how that they can add value."
    Ed Price: "Great scenario on continuous deployment! The code could use a breakdown to explain the parts, but the introduction is very thorough!"

     

    Guru Award  Forefront Identity Manager Technical Guru - February 2016  

    Gold Award Winner

    Jeff Ingalls MIM 2016: Privileged Access Management (PAM) - FAQ Ed Price: "Great resource to come back to!"
    Søren Granfeldt: "Good start"

    Silver Award Winner

    Wim Beck FIM2010: Selective Import Attribute Flow Søren Granfeldt: "Nice ideas...."
    Ed Price: "Great scenario and thorough Intro and Possible Solutions sections! Could benefit from a breakdown of the code or a conclusion. Great formatting!"

    Guru Award  Microsoft Azure Technical Guru - February 2016  

    Gold Award Winner

    Steef-Jan Wiggers Access Azure Redis Cache with an API App JH: "Nice article about combining Redis and API Apps, especially the integration of Swagger is great."

    Silver Award Winner

    XAML Guy IoT Suite Under The Hood - Predictive Maintenance JH: "Have played with the template myself. Great to see an article about it. Would love to see an article on how to customize the template in more detail."

    Bronze Award Winner

    Samir Farhat How to access an ARM Azure virtual machine from Internet JH: "Had the problem myself in the beginning. Found a way through the portal. Good to see PowerShell scripts to do it in a repeatable fashion."

     

    Guru Award  Miscellaneous Technical Guru - February 2016  

    Gold Award Winner

    Geetanjali Arora An Introduction to Microsoft Graph API Richard Mueller: "Very well explained with good detailed steps. I like the references."
    Peter Laker: "Top marks Geentanjali, nice article"

    Silver Award Winner

    Gaurav Kumar Arora Cruds in NancyFx using ASP.Net and FluentNHibernate Using Repository Pattern Richard Mueller: "Lots of good code and images. Grammar needs work."
    Peter Laker: "Very interesting, thanks Gaurav"

    Bronze Award Winner

    SYEDSHANU ASP.NET MVC User Role Base Menu Management Using WEB API And AngularJS

    Peter Laker: "Wow great article!"
    Richard Mueller: "Lots of code and detailed steps."

     

    Guru Award  SharePoint 2010 / 2013 Technical Guru - February 2016  

    Gold Award Winner

    Nathanaël Stassart OneDrive : Next Generation Sync Client Deployment guide Ed Price: "Wow this is thorough! Great formatting, color-coding the tables, including images, code formatting, and a general breakdown of each step, in depth!"
    Richard Mueller: "Good use of Wiki guidelines and great links. The "See Also" should be Wiki articles, this is really "Other Resources"."

    Silver Award Winner

    Rakhi Jain SharePoint 2013 : Customize Document Library TreeView Navigation Bar Richard Mueller: "Great use of Wiki guidelines."
    Ed Price: "Short and sweet. Great scenario and good use of an image and code formatting! Very clear steps."

    Bronze Award Winner

    TenPart SharePoint 2010: Updating TermStore using PowerShell Ed Price: "Good details and formatting. Could benefit from a TOC, breakdown of the code, and a See Also section at the end for Wiki links. Thank you!"
    Richard Mueller: "Good code. We could use some references."

    Guru Award  Small Basic Technical Guru - February 2016  

    Gold Award Winner

    Ed Price - MSFT Small Basic 1.2: Installation Guide Richard Mueller: "Good use of Wiki guidelines. Great images that detail the steps."

    Silver Award Winner

    Nonki Takahashi Small Basic: Desktop Michiel Van Hoorn: "Realy cool to interact with Windows components."
    Richard Mueller: "Excellent use of Wiki guidelines"

    Bronze Award Winner

    Ed Price - MSFT Small Basic: How to Publish Your Program Richard Mueller: "Good images and useful information."
    Michiel Van Hoorn: "Sharing is caring. How much fun is it to share your code with friends and family"

    Guru Award  SQL BI and Power BI Technical Guru - February 2016  

    Gold Award Winner

    Benchmark your SQL Server instance SSIS - Transfer data from Multiple tables using a single DFT PT: "Vinay, this is a very creative and useful solution to a difficult problem. I've seen multiple ETL frameworks for SSIS over the years and I think your approach is quite sound. Congratulations on winning the Guru award this month!"
    RB: "Nice walkthrough and solution to a common scenario"

    Silver Award Winner

    Visakh16 SSRS Tips : Implementing OR Based Logic for Dataset Filters PT: "Visakh, thanks for posting this useful information about report filters. This is a powerful feature that takes a bit of effort to use effectively."

    Bronze Award Winner

    Greg Deckler Dates Prior to 1900 in DAX PT: "Greg, thanks for this insightful contribution. The date range limit is something I run into all the time and is a tough problem to solve. This is a good work-around technique."
    RB: "Interesting workaround"

    Guru Award  SQL Server General and Database Engine Technical Guru - February 2016  

    Gold Award Winner

    FLauffer Workaround for Delay in Transaction Log Truncation: Snapshot Replication UR: "good and short explanation of a common problem with transaction logs."
    DRC: "The article talks about executing sp_repldone as workaround which can be used only as a last resort. "

    Guru Award  System Center Technical Guru - February 2016  

    Gold Award Winner

    Darren Joyce SCOM Reset Health on Alert Close Alan Carlos: "Thanks for article!"
    Ed Price: "Great depth and details in this article! "

    Guru Award  Transact-SQL Technical Guru - February 2016  

    Gold Award Winner

    Olaf Helper SQL Server: Implementation of N-Gram Search Index

    Richard Mueller: "Very interesting ideas for search. Good use of Wiki guidelines"

    Ed Price: "I love how you break down the code and explain it so thoroughly!"

    Silver Award Winner

    Natig Gurbanov SQL SERVER:Using Datalength() function

    Richard Mueller: "Interesting. This could use some references."

    Ed Price: "Great topic. It could benefit from more explanation of the code."

    Guru Award  Universal Windows Apps Technical Guru - February 2016  

    Gold Award Winner

    George Chondrompilas Real-time chat UWP application using Azure Mobile App and SignalR

    JH: "Nice and simple example. Would love to see more examples using SignalR."

    Ed Price: "The breakdown of the code and the images add great value."

    Silver Award Winner

    Magnus (MM8) UWP: Disabling Selection Of Items In a ListView

    JH: "Nice workaround for disabling items."

    Ed Price: "Fantastic formatting and great explanations!"

    Guru Award  Visual Basic Technical Guru - February 2016  

    Gold Award Winner

    .paul. calc2 - A VB.Net OOP Calculator MR: "Nice example!"
    Richard Mueller: "Interesting ideas. Lots of well documented code. Good use of Wiki guidelines."

    Silver Award Winner

    SYEDSHANU Control Chart Using VB.Net MR: "Nice and easy to use chart!"
    Richard Mueller: "Nice GUI. Lots of code."

    Guru Award  Visual C# Technical Guru - February 2016  

    Gold Award Winner

    SYEDSHANU ASP.NET 5 CRUD using Scaffolding and Entity Framework Carmelo La Monica: "Very interesting article, very detailed and good images and video."
    Jaliya Udagedara: "Good article with a detail explanation. And the sample code is available in MSDN Code Gallery. Hint: you can use EF itself to generate the database and seeding the data rather than running the scripts."

    Silver Award Winner

    Emiliano Musso Binary Clock in C# and WPF Jaliya Udagedara: "This is interesting. Great explanation using code snippets, images and a video. And the sample code is available in MSDN Code gallery. Just great!"
    Carmelo La Monica: "Congratulation, very impressive imeges, good video dimostration and lot of funny :)"

    Bronze Award Winner

    Brian Seekford How to access legacy forms checkboxes and ActiveX checkboxes in Word using C#! by Brian Seekford Jaliya Udagedara: "Would love to have a better formatting in the article and of course a sample to download and try it out."
    Carmelo La Monica: "Good article. it can benefit format C# code and table of contents."

     

    Guru Award  Wiki and Portals Technical Guru - February 2016  

    Gold Award Winner

    Ed Price - MSFT Wiki: Dynamics CRM Portal Richard Mueller: "A great portal with great links."

    Guru Award  Windows PowerShell Technical Guru - February 2016  

    Gold Award Winner

    Pierre-Alexandre Braeken MCSE RSA with PowerShell - PowerRSA Ed Price: "Great depth! This article will be a good resource to return to!"

    Silver Award Winner

    Richard Mueller PowerShell AD Module Cmdlets Cannot Clear, Add, Remove or Replace Back Link Attributes Ed Price: "Beautiful formatting, and great use of the different sections!"

    Guru Award  Windows Presentation Foundation (WPF) Technical Guru - February 2016  

    Gold Award Winner

    Andy ONeill Combobox Matching Complex Type

    Peter Laker: "Nice work Andy. Well presented and useful, just like you!"

    Ed Price: "I love how Andy's articles break down each snippet like this!"

    Silver Award Winner

    Brian Seekford How to display a different value in a WPF combobox based on selection i..e None instead of blank by Brian Seekford

    Peter Laker: "Thank you Brian, good contribution"

    Ed Price: "Good scenario. Could benefit from See Also links and code explanations. Good article!"

    Guru Award  Windows Server Technical Guru - February 2016  

    Gold Award Winner

    Kia Zhi Tang (Ryen Tang) Nano Server: Deploying an Internet Information Services (IIS) Web Server Alan Carlos: "Great article! Congratulations!!! Nano Server is amazing!"
    JM: "This is an excellent article on Nano server, thanks for your contribution"
    Richard Mueller: "Good references and step by step instructions."
    Mark Parris: "Good insight into the one of Nano server's capabilities."

    Silver Award Winner

    Mahdi Tehrani Load balancers and Active Directory Mark Parris: "Critical information that people need to be aware of."
    JM: "This is a good article that could use an edit pass for clarity"
    Richard Mueller: "I share your concern for the need of a load balancer. Any AD integrated app should use AD group memberships."

    Good luck!
    Pete Laker


    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

    Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!


    0 0
  • 04/04/16--12:18: installing .net 4.5
  • would there be any harm in installing .Net 4.5 in portal machine? I need to install it for  running powershell for signed email messages by fimservice accounts. Just wondering if its ok to install 4.5 version

    0 0
  • 04/06/16--00:26: FIM/AD Account unlock
  • Hello,

    Can someone confirm whether it is possible that end user can self unlock AD accounts in FIM 2010 R2 version 4.1.3613.0 ?

    And what are the limitations associated with this?

    Thank you in advance.

    Regards,

    Suman



    0 0

    I am calling a powershell activity using FIM WAL 2010 R2. The powershell works fine if I run it manually but if I call it via FIM WAL, it is throwing an error. what could be the reason. I have attached the powershell and error message.

    function SendEmailNotification2
    {
    [System.Reflection.Assembly]::LoadFile("\\FIM\Portal-Sync-Scripts\notify\SignCreds\Cpi.Net.SecureMail.dll") | Out-Null
    $objCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
    $objCert.Import('cer','pwd',)
    [string]$strSmtpServer  = "SERVER"
    [string]$strSmtpPort    = "PORT"
    [string]$strFrom        = "from"
    [string]$strFromAlias   = "name"
    [string]$strTo          = $emailto
    [string]$strToAlias     = $DisplayName
    [String]$strSubject =   "sub"
    [string]$strBody        = $strbody
    $objEnc = $null
    $objMail = New-Object Cpi.Net.SecureMail.SecureMailMessage
    $objFrom = New-Object Cpi.Net.SecureMail.SecureMailAddress($strFrom,$strFromAlias,$objEnc,$objCert)
    $objTo   = New-Object Cpi.Net.SecureMail.SecureMailAddress($strTo,$strToAlias)
    $objMail.From = $objFrom
    $objMail.to.Add($objTo)
    $objMail.Subject = $strSubject
    $objMail.Body = $strBody
    $objMail.IsBodyHtml = $TRUE
    $objMail.IsSigned = $TRUE
    $objMail.IsEncrypted = $FALSE
    $objSMTPClient = New-Object System.Net.Mail.SmtpClient($strSmtpServer,$strSmtpPort)
    $objSMTPClient.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
    $objSMTPClient.send($objMail)

    }


    0 0

    Hi,

    Getting my feet wet with the Granfeldt Powershell MA, what a great piece of kit.

    One thing I can't figure out...:

    When exporting, how can I get access to connectorspace attributes other than anchor and the changed attribute value?

    Example: I need to use the attribute UserPrincipalName, but it is not the DN. $_.UserPrincipalName returns blank:

        $EmployeeId = $_.DN #expected value
        $UserPrincipalName = $_.UserPrincipalName #blank, wtf

    Why? And how do I get hold of that value form the connectorspace?


    0 0

    I GOT $100.00 I8F ANYONE IS AROUND imperIAL BEACH AREA, I NEED HELP NOW I HAVE ALL OF THE LOGS AND EVENTS OPEN I H]JUST DONT KNOW WHAT IM DOING 5 MIN $100.00 PLEAS EHELP


    0 0

    We currently have FIM 2010 R2 GALSync working between a "Main" Forest (where the FIM server resides) and a "Second" forest. These are separate ADs from two different companies.

    We are now looking to use GALSync to sync with a "Third" forest. We would like to sync All the GALs so Main, Second, and Third organizations have GALs that are synced.

    When I add the Third MA, if I select the org unit that contains the cross-forest mail contacts that were synced from "Second" to "Main" will those mail contacts be synced over to "Third"? If not, how do I sync between "Second" and "Third"?


    0 0

    I am currently working on doing some implementations using the great Granfeldt Powershell MA. 

    I have schema, import and export working, but face a problem with export when I want to use attributes in connectorspace to perform something, not just updating. Like for executing a powershell command, where I need both the userprincipalname and the location, or something like that.

    I have created a simple example MA just for the purpose of testing this issue. It manages ContactInformation from a database (email, phone) and accepts the first and lastname back from the FIM metaverse from other source. I use the latest Powershell MA. 

    The problem is in export.ps1 (shown later in this post), in the line that says...:

    $ExternalEmail = $_.ExternalEmail

    I would expect this value to be filled with the value from the connectorspace, but it is just blank. There is a value in there, this is not the first time it runs or anything like that. I see the same approach used in the Lync samples for Powershell MA, so I assume I am doing something wrong somewhere else.

    Can you please help by telling me what I am doing wrong?

    This is the pending export I test with:


    Database: 


    schema.ps1

    
    $obj = New-Object -Type PSCustomObject
    $obj | Add-Member -Type NoteProperty -Name "Anchor-EmployeeId|String" -Value "000000"
    $obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "user"
    $obj | Add-Member -Type NoteProperty -Name "Phone|String" -Value "+99 9999999"
    $obj | Add-Member -Type NoteProperty -Name "ExternalEmail|String" -Value "some@email.com"
    $obj | Add-Member -Type NoteProperty -Name "LastName|String" -Value "firstname"
    $obj | Add-Member -Type NoteProperty -Name "FirstName|String" -Value "lastname"
    $obj | Add-Member -Type NoteProperty -Name "CreatedOn|String" -Value "2016-04-06 13:46"
    $obj | Add-Member -Type NoteProperty -Name "ModifiedOn|String" -Value "2016-04-06 13:47"
    $obj

    import.ps1

    param (
        $Username,
    	$Password,
    	$OperationType
        )
    
    $DebugFilePath = "C:\PSMA\ContactInfo\ImportDebug.txt"
        if(!(Test-Path $DebugFilePath))
            {$DebugFile = New-Item -Path $DebugFilePath -ItemType File}
        else
            {$DebugFile = Get-Item -Path $DebugFilePath}"Starting Import : " + (Get-Date) | Out-File $DebugFile -Append
    
    $ConnectionString = "Data Source=localhost;Initial Catalog=TestDatabase;Integrated Security=True";
    
    $Connection = New-Object System.Data.SQLClient.SQLConnection
    $Connection.ConnectionString = $ConnectionString
    $Connection.Open()
    $Command = New-Object System.Data.SQLClient.SQLCommand
    $Command.Connection = $Connection
    
    $SQL = "SELECT * FROM ContactInfo"
    
    $Command.CommandText = $SQL
    
    $Reader = $Command.ExecuteReader()
    
    While ($Reader.Read())
    {
        $obj = @{}
    
        $obj.Add("objectClass", "user")
        $obj.Add("EmployeeId", $Reader[“EmployeeId”])
        $obj.Add("Phone", $Reader[“Phone”])
        $obj.Add("ExternalEmail", $Reader[“ExternalEmail”])
        $obj.Add("FirstName", $Reader[“FirstName”])
        $obj.Add("LastName", $Reader[“LastName”])
        $obj.Add("ModifiedOn", $Reader[“ModifiedOn”].ToString("o"))
        $obj.Add("CreatedOn", $Reader[“CreatedOn”].ToString("o"))
    
        $obj
    }
    
    $Connection.Close()

    export.ps1 (most of which is debug code)

    param (
        $Username,
        $Password
        )
    
    BEGIN
    {
        #Writing Start tag in Debug File.
        $DebugFilePath = "C:\PSMA\ContactInfo\ExportDebug.txt"
    
        if(!(Test-Path $DebugFilePath))
            {$DebugFile = New-Item -Path $DebugFilePath -ItemType File}
        else
            {$DebugFile = Get-Item -Path $DebugFilePath}
    
        "Starting Export : " + (Get-Date) | Out-File $DebugFile -Append
    }
    
    PROCESS
    {
    
    	#Initialize Parameters
    	$Identifier = $_.Identifier
    
    	$EmployeeId = $_.DN
        $FirstName = $_.FirstName
        $ExternalEmail = $_.ExternalEmail
    
        "Firstname: '" + $Firstname + "' " + (Get-Date) | Out-File $DebugFile -Append"ExternalEmail: '" + $ExternalEmail + "' " + (Get-Date) | Out-File $DebugFile -Append
    
    	$ErrorName = "success"
    	$ErrorDetail = $null
    	$date = Get-Date -Format "yyyy-MM-dd""Processing : " + $_.DN | Out-File $DebugFile -Append"No of Changes : " + $_.ChangedAttributeNames.Count | Out-File $DebugFile -Append
    
    	#Loop through changes and update parameters
    	foreach ($can in $_.ChangedAttributeNames)
    		{# $can : ChangedAttributeName
    		foreach ($ValueChange in $_.AttributeChanges[$can].ValueChanges)
    			{
    				if ( $can -eq 'FirstName' ){$FirstName = $ValueChange.Value}
    				if ( $can -eq 'LastName' ){$LastName = $ValueChange.Value}
    			}
    		}
    
    	"Firstname: '" + $Firstname + "' " + (Get-Date) | Out-File $DebugFile -Append #Now has a value, if the attribute changed"LastName: '" + $LastName + "' " + (Get-Date) | Out-File $DebugFile -Append #Now has a value if the attribute changed
    
    	#Verify changetype.
    	if ($_.ObjectModificationType -eq 'Add')
    		{
    			throw "Add modification are not supported"
    		}
    
    	if ($_.ObjectModificationType -eq 'Delete')
    		{
    			throw "Delete modification are not supported"
    		}
    
    	#Supported ChangeType is Replace
    	if ($_.ObjectModificationType -match 'Replace')
    		{
    			$ConnectionString = "Data Source=localhost;Initial Catalog=MiisInput;Integrated Security=True";
    
    			$Connection = New-Object System.Data.SQLClient.SQLConnection
    			$Connection.ConnectionString = $ConnectionString
    			$Connection.Open()
    			$Command = New-Object System.Data.SQLClient.SQLCommand
    			$Command.Connection = $Connection
    
    			$SQL = "UPDATE ContactInfo SET LastName = @LastName, FirstName = @FirstName, ModifiedOn = GETDATE() WHERE EmployeeId = @EmployeeId"
    
    			$Command.CommandText = $SQL
    
    			$Command.Parameters.Add("@EmployeeId", [System.Data.SqlDbType]::VarChar, 50) | Out-Null
    			$Command.Parameters.Add("@LastName", [System.Data.SqlDbType]::VarChar, 50) | Out-Null
    			$Command.Parameters.Add("@FirstName", [System.Data.SqlDbType]::VarChar, 50) | Out-Null
    
    			$Command.Parameters[0].Value = $EmployeeId
    			$Command.Parameters[1].Value = $LastName
    			$Command.Parameters[2].Value = $FirstName
    
    			$Command.ExecuteNonQuery() | Out-Null
    
    			$Connection.Close()
    		}
    
    	#Return the result to the MA
    	$obj = @{}
    	$obj.Add("[Identifier]",$Identifier)
    	$obj.Add("[ErrorName]",$ErrorName)
    	if($ErrorDetail){$obj.Add("[ErrorDetail]",$ErrorDetail)}
    	$obj
    }
    
    END
    {
    	"Ending Export : " + (Get-Date) | Out-File $DebugFile -Append
    }





    0 0

    Anyone please suggest how to achieve mailbox permissions via FIM 2010? Is there any attribute mapped for it to be managed?


    Regards,
    Manuj Khurana


    0 0

    Hi All,

    I am writing here to have knowledge about MIM 2016 upgrade. I need help !

    I have FIM 2010 R2 version 4.1.3613 in my environment currently and need to upgrade to MIM 2016, So which of the following is correct procedure ?

    1) upgrading directly to MIM 2016 ?

    2) upgrading first to FIM version  4.1.3721 and then to MIM 2016 ?

    Regards,

    Suman


    0 0

    I have installed MIM 2016 Password Reset and Registration Portals and all of the functionality is working as intended when I have one authentication gate. But when I add multiple authentication gates in the "Password Reset AuthN Workflow" such as QA gate, Email OTP and SMS OTP gates, users need to register all of these gates and they need to pass them one by one when they are resetting their passwords. Is there a way to make only one gate required so that users do not need to register all of them? On Azure (as explained here https://blogs.technet.microsoft.com/ad/2014/04/29/deep-dive-password-reset-with-on-premise-sync-in-azure-ad-premium/) you can pick the number of required contact methods, I was wondering if a similar functionality is available on MIM/FIM SSPR portals.


older | 1 | .... | 153 | 154 | (Page 155) | 156 | 157 | .... | 204 | newer