Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all 6944 articles
Browse latest View live

MIM 2016 Portal in IE11 and some more questions

$
0
0

Hi!

I'm interesting in MIM 2016 and have some questions.

I have made an installation using this guides:

https://docs.microsoft.com/en-us/microsoft-identity-manager/deploy-use/microsoft-identity-manager-deploy

I can't create Synchronization Rule on MIM Portal. I'm using IE11(11.0.9600.18283) on Winwows Server 2012 R2 with all updates from Windows Update. 

I can't click on dropdown menu to choose something.

Almost the same situation in Chrome and Firefox (latest editions)

MIM version is: Help on webpage is v. 4.3.2195.0  (patch was installed)

.NET is 4.6.2 with all security updates

I tryed to resolve case by using this links, but no success:

https://social.technet.microsoft.com/Forums/en-US/37627da2-b4b3-4da4-b793-1762d7b36b9b/mim-2016-portal-ui-bug-sync-rule-editing-outbound-attribute-flow-page-navigation-control-doesnt?forum=ilm2

https://justidm.wordpress.com/2015/01/07/fim-portal-issues-after-installing-ie11-update-kb3008923-for-win-8-1/

Can anybody say where is the problem?

Thanks!


1




Migrating MIM from one server to another (2008 R2 OS to 2012 R2)

$
0
0

Hi all.

I currently have FIM 2010 R2 in my environment, and long term I want to move our identity management to either a server 2012 R2 or server 2016 server, depending on what is most suitable at the time.  All that we currently have is the sync service - the MIM service / portal etc are not installed, though I want to install them in the future.,

FIM 2010 R2 is currently installed on a 2008 R2 server.  I tried in a test environment to install MIM 2016 fresh and migrate, but failed.  I decided that our best course of action was simply to do an in-place upgrade of FIM to MIM 2016 without changing services, and then later look at migrating the newly-installed MIM to a newer OS and SQL database version.  The inplace upgrade in my test environment was trivial.

Unfortunately, I can't find any guidance for doing so.  Before I actually make my recommendation to the business, I want to just get a feeling of how difficult it would be to migrate MIM 2016 from a 2008 R2 server to 2012 R2 (or 2016 if supported).

Since I plan to install the MIM service and portal, I'm also wondering about the difficulty to migrate those; should I install those on my 2008 R2 server once I've upgraded the sync service, or should I wait until I've migrated MIM to another server and install them there?  I don't know how much effort it takes to migrate the extra services...



MIM - Object Already Exists in Management Agent

$
0
0

We are currently migrating our student account provisioning from ILM to MIM, but I am running into an issue when trying to run a Full Sync on our SQL MA.  The only other MA is our AD MA.  I'm getting a provisioning error through our MV extension DLL saying that:

Microsoft.MetadirectoryServices.ObjectAlreadyExistsException: An object with DN "CN=Student Name,OU=2023,OU=BR,OU=Secondary Schools,OU=Students,OU=User Accounts,DC=our,DC=domain" already exists in management agent "Student_AD".
   at Microsoft.MetadirectoryServices.Impl.ConnectorImpl.Commit()
   at Mms_Metaverse.MVExtensionObject.Microsoft.MetadirectoryServices.IMVSynchronization.Provision(MVEntry mventry) in \\fim\c$\MIMRulesExtensions\MVExtension\MVExtension.cs:line 51
Line 51 is: csentry.CommitNewConnector(); from the code below.

 void IMVSynchronization.Provision (MVEntry mventry)
        {
            if ((mventry["employeeType"].Value == "Students") && (mventry["ou"].Value == "SECONDARY SCHOOLS"))
            {
                ConnectedMA StudentAD;
                CSEntry csentry;
                ReferenceValue dn;

                StudentAD = mventry.ConnectedMAs["Student_AD"];

                //Sets DN to "CN=[cn],OU=[division],OU=[location],OU=Secondary Schools,OU=Students,OU=UserAccounts,DC=our,DC=domain"
                dn = StudentAD.EscapeDNComponent("CN=" + mventry["cn"].Value).Concat("OU=" + mventry["division"].Value).Concat("OU=" + mventry["location"].Value).Concat("OU=SECONDARY SCHOOLS,OU=Students,OU=User Accounts,DC=our,DC=domain");

                if (StudentAD.Connectors.Count == 0)
                {
                    csentry = StudentAD.Connectors.StartNewConnector("user");
                    csentry.DN = dn;
                    csentry.CommitNewConnector();
                }

                else if (StudentAD.Connectors.Count == 1)
                {
                    csentry = StudentAD.Connectors.ByIndex[0];
                    csentry.DN = dn;
                }

                else
                {
                    string ExceptionMessage;
                    ExceptionMessage = "Multiple Connectors on Management Agent";
                    throw new UnexpectedDataException(ExceptionMessage);
                }
            }
        }	

I'm certainly no expert, but it seems to me like it's getting into the wrong if statement, when it should see the connector in the Student_AD MA and try to connect with that.

I've adapted this code from our MV extension for ILM (which was written in VB) and it looks the same to me, just not sure what's going wrong.  Here's the original code:

 If mventry("o").Value = "Students" And mventry("description").Value = "SECONDARY SCHOOLS" Then
                Dim stuMA As ConnectedMA
                Dim csentry As CSEntry
                Dim dn As ReferenceValue
                stuMA = mventry.ConnectedMAs("Admin_AD")
                ' Construct the distinguished name
                dn = stuMA.EscapeDNComponent("CN=" + _
        mventry("cn").Value).Concat("ou=" + _
        mventry("division").Value).Concat("ou=Users").Concat("ou=" + _
        mventry("l").Value).Concat("ou=" + _
        mventry("description").Value).Concat("dc=student,dc=our,dc=domain")
                If stuMA.Connectors.Count = 0 Then
                    csentry = stuMA.Connectors.StartNewConnector("user")
                    csentry.DN = dn
                    csentry.CommitNewConnector()
                ElseIf stuMA.Connectors.Count = 1 Then
                    ' Get the first connector and assign a new DN.
                    csentry = stuMA.Connectors.ByIndex(0)
                    csentry.DN = dn

Anyone have any advice?

May Day! We need YOU as a TechNet FIM Guru!

$
0
0
May is under way!

And the Guru early birds are showing the way!

Could this be the month that we see the best ever TechNet article in the WORLD!!?

You could be thinking it right now words of wisdom that enrich people's lives!

Technical truths and wise words of widgets and wizardry!

So many upper eyes within Microsoft adjudicate this competition, yet so few stumble on this small community and realise the potential of getting their name known in such circles!

Some of our biggest community voices and many MVPs have passed through these halls, on their way to fame and fortune.

Come and see who is making waves in all your favourite technologies.

Maybe it will be you!

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.

April's articles are off with the Judges. We hope to have enough votes by mid-month. They're all busy people.

Below are March's mighty winners! The full list of winners and contenders is here.

Guru Award BizTalk Technical Guru – March 2016  

Gold Award Winner

 

Johns-305BizTalk Server: Detecting a Missing Message or Orchestration, V2LG: "It is very deep investigation and advanced implementation. It is very helpful in real-life scenarios."
Sandro Pereira: "Good article and another great Solutions, I really prefer to avoid convoys if I can."

Silver Award Winner

 

Eldert GrootenboerUsing static port with dynamic behaviourSandro Pereira: "Once again great job Eldert! Excelent tip, well explain and in clearly way. Excellent addition to the TechNet Wiki!"
LG: "The article is somehow unclear."

Bronze Award Winner

 

Lex HegtBizTalk Tracking Cheat SheetLG: "It is really unknown feature, discovered by author. Kudos!"
Sandro Pereira: "Binding files are now more easy to understand thanks to you Lex. Great article."

Guru Award Forefront Identity Manager Technical Guru – March 2016  

Gold Award Winner

 

Jeff IngallsFIM2010/MIM2016: How to Bulk Export Connector and Disconnector Status from an AD DomainPG: "A nice piece of "FIM/MIM bit", quick practical solution for a practical problem. Keep up the good work!"
AM: "Great article!"

Guru Award Microsoft Azure Technical Guru – March 2016 

Gold Award Winner

Emiliano MussoCreate Azure Database and use it via C#JH: "Good introduction on creating, managing and connecting to good old Azure SQL DB."
TN: "Good article helping developer working with Azure programmatically"

Silver Award Winner

Samir FarhatAzure IaaS V2 (ARM) Design Series : Azure SubscriptionsJH: "Everyone working with Azure uses a subscription, but do not think about seem more deply. Good overview of Azure subscriptions."
TN: "A good read, nice work"

Bronze Award Winner

Kia Zhi Tang (Ryen Tang)Microsoft Azure: Deploying Site to Site VPN Connection with Citrix NetScaler CloudBridgeTN: "This article is extremely helpful and provides real-world scenario. "
JH: "Nice overview about using the Citrix NetScaler VPX to connect your private cloud to Azure."

 

Guru Award Miscellaneous Technical Guru – March 2016 

Gold Award Winner

SYEDSHANUEASY KIDS LEARN using MVC and AngularJSPeter Laker: "Great article Syed, some good work this month!"
Richard Mueller: "Lots of code and detailed steps. Good use of Wiki guidelines."

Silver Award Winner

Santhakumar MunuswamyGetting Started With Agent SmartWatch AppsPeter Laker: "Very interesting! Just the kind of thing we love. I'm gonna go try!"
Richard Mueller: "Great images. Good detailed steps. Perhaps this could use a TOC."

Bronze Award Winner

Carmelo La Monicanternet-of-things-part-3-our-first-application.aspxPeter Laker: "Great introduction Carmelo, thanks for sharing!"
Richard Mueller: "Great images and detailed steps."

  

Guru Award Small Basic Technical Guru – March 2016 

Gold Award Winner

Yvan LeducHow to produce a complete music chord using SoundPlay.Music in Small BasicDEVA: "Great Music app Yvan :)"
Michiel Van Hoorn: "Great, music!"

Silver Award Winner

Nonki TakahashiSmall Basic: ProgramDEVA: "Great Stuff Nonki :)"
Michiel Van Hoorn: "Thanks Nonki!"

 

Guru Award SQL BI and Power BI Technical Guru – March 2016 

Gold Award Winner

Greg DecklerDAX the LanguageRB: "Good article"
PT: "Both entries this month are fantastic, concise articles on useful DAX applications… and since you submitted both, I don't have to pick a winner! They BOTH win! Greg, thank you for this contribution to the TechNet Wiki. "

Silver Award Winner

Greg DecklerAggregating Duration/Time in DAXRB: "Another very good article"
PT: "Both entries this month are fantastic, concise articles on useful DAX applications… and since you submitted both, I don't have to pick a winner! They BOTH win! Greg, thank you for this contribution to the TechNet Wiki."

 

Guru Award SQL Server General and Database Engine Technical Guru – March 2016 

Gold Award Winner

ChervineQuery Unstructured Data from SQL Server using PolybasePeter Laker: "An awesome article Chervine, beautifully laid out and illustrated too."
AN: "Very nice article!"

Silver Award Winner

FLaufferSQL Server Storage: Checking Volumes Block SizesPeter Laker: "Short but concise! Good comment from Shanky re code snippets, would improve it more."
AN: "Thanks for the tip!"

 

Guru Award Transact-SQL Technical Guru – March 2016 

Gold Award Winner

DiegoctnHow to recover views and procedures dropped by mistake>Richard Mueller: "Great information that can be useful. Good example to demonstrate. Would be good to explain how the code works. Also, avoid first person and try not to write as if it is a blog post."
CA: "A good start!"

 

Guru Award Universal Windows Apps Technical Guru – March 2016 

Gold Award Winner

Manuel CotaHow to Use Microsoft's Direct Music Producer to create Music for a UWP Video GameJH: "Music is something that makes good games great ones. Nice introduction to Microsoft's DirectMusic Producer."
BE: "Great article!"

 

Guru Award Visual Basic Technical Guru – March 2016 

Gold Award Winner

.paul.VB.Net OOP Areas and Volumes CalculatorCarmelo La Monica: "Very useful article and very good vb net code. Congrats !"
Richard Mueller: "Nicely done, with good use of Wiki guidelines and images."

 

Guru Award Visual C# Technical Guru – March 2016 

Gold Award Winner

Sibeesh VenuCaching In Web APICarmelo La Monica: "Fantastic topics, very detailed in all parts."
AP: "Great article!"

Silver Award Winner

Emiliano MussoCreate Azure Database and use it via C#Carmelo La Monica: "Great work and very useful. Congrats for your sample."
AP: "Nice sample Emiliano"

Bronze Award Winner

Sibeesh VenuChart Widgets With Server Side Data In MVC Using Angular JS And Web APICarmelo La Monica: "Very good sample, images and code, very detailed."
AP: "Very nice article!"

 

Guru Award Wiki and Portals Technical Guru – March 2016 

Gold Award Winner

Richard MuellerWiki: Glossary of Acronyms Specific to MicrosoftPeter Laker: "A very useful list, thank you Richard!"
AN: "Great article!"

Silver Award Winner

Ed Price – MSFTExcel PortalPeter Laker: "A great jumping in point, worth a bookmark! Thanks Ed!"
AN: "Thanks Edwardo!"

 

Guru Award Windows PowerShell Technical Guru – March 2016 

Gold Award Winner

VGSandzWindows Auto Logon with PowerShellJan Egil Ring: "Thanks VGS"
Alan Carlos: "Nice article! Congrats!"
Richard Mueller: "Good use of Wiki guidelines. Good code examples. We can use some links to references."

 

Guru Award Windows Server Technical Guru – March 2016 

Gold Award Winner

Nathanaël StassartBuild a SharePoint Server 2016 Reference Image (Sysprep)JM: "This is a thorough, well presented and excellent article on SharePoint server deployment. Thanks for your contribution"
Mark Parris: "Good Reference article."
Alan Carlos: "Wow! Great article!"
Richard Mueller: "Very detailed steps and recommendations. The images help. Grammar needs work."

Silver Award Winner

Kia Zhi Tang (Ryen Tang)Nano Server: Deploying ASP.NET 5 site on Internet Information Services (IIS) Web ServerJM: "This article on deploying an ASP.NET site on IIS in Nano server is excellent! Thanks for your contribution"
Mark Parris: "Nice Nano Server article, the library of information is growing."
Alan Carlos: ""
Richard Mueller: "Detailed steps with PowerShell code. Good use of Wiki guidelines, but the "See Also" should be links to other Wiki articles."

A huge thank you to EVERYONE who contributed an article to March's competition.

Good Luck May Gurus

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!

Powershell for Identity Manager

$
0
0

Hi,

Just wanted to share information about my 2 new powershell modules for FIM/MIM. Short blogpost about what is included and a github repro here:

BlogPost

GitHub repro

/Cheers

Tore


FM 2010 - multiple AD management agents for the same domain

$
0
0

Hi,

 I know it's not supported to have multiple AD MAs pointing at the same domain, but I'm not sure why. I have  scenario where I need to run some AD and GALSync tests and currently have multiple AD MAs pointing at the same domain, along with multiple GALSync MAs pointing at the same domain. 

The main issue I'm aware of is that it's not supported and you could be in for a world of pain if you have 2 independent MAs syncing to the same object which could cause unpredictable results. Having said that, if you deliberately select non overlapping OUs, so that each object is exclusively managed by 1 MA, I think this is less of an issue.

I'm wondering if there are any other issues with having multiple MAs for the same domain?

Thanks

Attribute Flow Mapping

$
0
0

Hello,

I read some documents about attribute flow and synchronization rules, but i don't understand,

1- at first we must map attribute in creation of management agent

2- then we must map attribute in synchronization rule!!!

what is difference between two mapping?

please explain about the relation between attribute flow mapping in MA and Sync rules

Thanks

Problem with domain name on FIM Portal

$
0
0

I have installed FIM IdM by following the guide "Installing the FIM 2010 Server Components" using the local administrator user.

I am able to access to FIM Portal as Local Administrator but when I try to create a New User (or a New Group), in the "General Tab" section I am not able to select my corporate AD domain. From the dropdown menu in the "Domain" row I can only select the hostname of the machine where I have installed the FIM IdM.

How does the FIM IdM populates the domains list?

I have also tried to to add my domain in "Domain Configuration" section but it fails because the forest name is not validated by FIM CM.

What could be the issue? Can you please hel me?


Having problem syncing with new MIM 2016 installation

$
0
0

Hi guys,

First off all, if any of you (maybe some Idenitity MVPs) have access to an internal MS DL, or if MS is monitoring this thread, the installation guide of MIM 2016 is by far the worst documentation guide ever :-)

https://technet.microsoft.com/en-us/library/mt219040.aspx

Being a Office Servers and Services MVP, I know it can by hard something to come out with some good documentation but following the step by step guide of MIM 2016, will never get you up and running...

Back to my problem;

A customer of mine wants to use the SSPR on their Win7/8 logon screen (Ctrl-Alt-Del)

So my goal is only to deploy the SSPR portion, sync from AD and export to MIM DB....seems pretty simple.I have decided to follow some FIM install guide instead of MIM:https://technet.microsoft.com/en-us/library/ff575965(v=ws.10).aspx

I have up to a point where the sync rules works but in the SSPR portal, if I do a search on the user, this is what I see:

I cannot seems to match the displayname somewhere...

Any tips and trick or just a quick guide will be more than helpful.

Cheers

Jean-Philippe


If a post is helpful, please take a second to hit the green arrow on the left, or mark as answer, thanks.


Jean-Philippe Breton | Senior Microsoft Consultant | MCTS, MCITP, MCT, Lync MVP

Unable to open FIM Sync Manager Console

$
0
0

Hi,

I am facing a strange issue wherein all of sudden I am not able to open the FIM Sync Manager console. FIM Sync service is append running and my ID has all the required groups. When I checked event viewer I had seen the below event logged.

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

{835BEE60-8731-4159-8BFF-941301D76D05}

and APPID

{835BEE60-8731-4159-8BFF-941301D76D05}

to the user DOMAIN\ACCOUNTNAME SID (S-1-5-21-1380806297-2286519638-3397210491-001234) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

I followed the below link and sorted out the error that was being logged.

https://support.microsoft.com/en-us/kb/899965

But still I am unable to open the Sync Manager Console. I see that the service account with which FIM Sync Service is running has a "when changed" date of the date since when we are facing this issue. But I am not sure what has changed. And worst part is now nothing gets logged in event viewer.

Can someone help me list out the chances of what wrong could have happened here.

Thanks,


Veena

FIM Password and Authentication Extensions 2010 R2 supported on Windows 10?

$
0
0
Are the FIM Password and Authentication Extensions from 2010 R2 supported on Windows 10?  I can't find any info one way or the other.

MIM 2016 - Synching userAccountControl from AD to Metaverse - Full Sync needed

$
0
0

The problem is that when synching userAccountControl number from AD to Metaverse it needs a full sync. Have anyone else noticed this kind of behavior?

I have checked that the value is updated in the connector space.

What does this MIMWAL documentation extract mean in plain English... not all of us have english as first language!

$
0
0

MIMWAL has some useful looking functions. I am curious about the functions: ParameterValueAdded and ParameterValueRemoved

The documentattion for ParameterValueAdded states: "Returns the added values of a multi-valued request parameter of an arbitrary request".

The example given in the wiki is:    ParameterValueAdded([//Request/RequestParameter], "ExplicitMember")

What is an arbitrary request??

What I hope to do is to use this function within an action workflow triggered by an MPR monitoring adds to a multi-value attribute, FormSelectedADgroups in my case. So my action WF has the WAL Update Resources activity, and I want to call this function to act on my data.

What should the value expression be in my case?

AD group membership sync issue

$
0
0
is there a limit to the size of the group membership that can be synced to the portal? I have an OU with 3 groups only on group membership is synced the other 2 have 12 thousand users and 3 thousand users. they do not sync and when I run the routing I have to delete users the portal actually send a delete update back and deletes the users out of AD

Best Way to Connect MIM to SAP-ECC 6.0 HR-Module

$
0
0

Hello There,

I am planning a MIM Deployment.What is the best way to connect MIM to SAP-ECC 6.0, that runs on Oracle 11G Database ?

1. Web Services ?

OR

2. Direct Connection to Oracle DB, since there is a supported MA for Oracle 11G ?

Which is better and Why ?


Akinzo


MIM stage deletion failed (code)

$
0
0
I have a provision code with object deprovisioning:

                If 1 = SW_Connectors And StudConnectors = 0 Then

                    Dim SW_csentry As CSEntry = SW_MA.Connectors.ByIndex(0)
                    SW_csentry.Deprovision()

it works most of time but there are a few failures happened like below:

Image

2 objects deleted in Metaverse by the code but only 1 of them is deleted when export profile run.

there is no relevant error/warning in the event viewer. 

any suggestion/advise would be very much appreciated. 


Jason

MIM 2016 OTP SMS Unable to send security code

$
0
0

The error page was displayed to the user.
Details:
Title: Unable to send security code
Message: Unable to send a security code. Please contact your help desk for assistance.
Source: 
Attributes: 
Details: Microsoft.IdentityManagement.CredentialManagement.Portal.Exceptions.OneTimePasswordDeliveryException: ValidationError:UnableToSendSecurityCode ---> System.ServiceModel.FaultException: ValidationError:UnableToSendSecurityCode
   at Microsoft.ResourceManagement.WebServices.SecurityTokenServiceClient.RequestSecurityTokenResponse(Message request)
   at Microsoft.ResourceManagement.WebServices.SecurityTokenServiceClient.RequestSecurityTokenResponse(RequestSecurityTokenResponseType request, ClientOptionsHelper clientOptionsHelper, MessageBuffer& messageBuffer)
   at Microsoft.ResourceManagement.WebServices.Client.AuthenticationRequiredException.Authenticate(AuthenticationChallengeResponseType[] authenticationChallengeResponses, MessageBuffer& messageBuffer, ClientOptionsHelper clientOptionsHelper)
   at Microsoft.IdentityManagement.CredentialManagement.Portal.Common.ResetProxy.GetChallenge(String domain, String userName, ChallengeContext gateChallengeResponse)
   at Microsoft.IdentityManagement.CredentialManagement.Portal.Common.ResetProxy.GetNextChallenge(String domain, String userName, ChallengeContext gateChallengeResponse, FaultExceptionHandlerDelegate faultExceptionHandler)
   --- End of inner exception stack trace ---
   at Microsoft.IdentityManagement.CredentialManagement.Portal.Common.ResetProxy.GetNextChallenge(String domain, String userName, ChallengeContext gateChallengeResponse, FaultExceptionHandlerDelegate faultExceptionHandler)
   at Microsoft.IdentityManagement.CredentialManagement.Portal.Components.DriverBase.GetNextGate(IGateControl currentGate)
   at Microsoft.IdentityManagement.CredentialManagement.Portal.Reset.Next()
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
CorrelationId: 
RequestId: 
ErrorCode: 3013

this is the error from event viewer , i tired to edit SmsServiceProvider.dll many time but without any success , this is last edit for SmsServiceProvider.dll

//------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------
namespace Microsoft.IdentityManagement.Samples
{
    using System;
    using System.Collections.Generic;
    using System.Globalization;
    using System.Net;
    using System.Text;
    using Microsoft.IdentityManagement.SmsServiceProvider;
    using System.Web;
    using System.Security.Cryptography;
    using System.IO;



    public class SmsServiceProvider : ISmsServiceProvider
    {

        public void SendSms(string mobileNumber,
                            string message,
                            Guid requestId,
                            Dictionary<string, object> deliveryAttributes)
        {
            mySMSProvider.SendSms(mobileNumber, message);
        }
    }


    class mySMSProvider
    {
        static string RequestURL = "http://XXX/httpSendSMS/Default.aspx";

        mySMSProvider()
        {
        }

        public static int SendSms(string userMobileNumber, string message)
        {
            WebClient wc = new WebClient();
            string requestData;

            requestData = Microsoft.IdentityManagement.Samples.mySMSProvider.GetRequestData(userMobileNumber, message);

            byte[] postData = Encoding.ASCII.GetBytes(requestData);

            byte[] response = wc.UploadData(mySMSProvider.RequestURL, postData);

            string result = Encoding.ASCII.GetString(response);  // result contains the error text

            int returnValue = System.Convert.ToInt32(result.Substring(0, 4), NumberFormatInfo.InvariantInfo);
            return returnValue;
        }

        public static string GetRequestData(string mobilePhone, string message)
        {

            string myrequestData;

            myrequestData = "UserName=" + "XX"
                 + "&Password=" + System.Web.HttpUtility.UrlEncode("XX")
                 + "&MobileNo=" + System.Web.HttpUtility.UrlEncode(mobilePhone)
                 + "&Language=" + System.Web.HttpUtility.UrlEncode("EN")
                 + "&MessageID=" + System.Web.HttpUtility.UrlEncode("ITNOC005")
                 + "&Varibales=" + System.Web.HttpUtility.UrlEncode(message)
                 + "&DelimiterChr=" + System.Web.HttpUtility.UrlEncode("+");

            return myrequestData;


        }
    };
}
 when you try to but http parameter on IE sms send success ,please any help ?? 

Sync user account password between two diffrent forest without trust

$
0
0

Hi

I want to sync user account password between two diffrent forest without trust.

after I searched In internet ,I found some DOC In technet with MIM 2016 Guide in order to run this senario ,I tryed but It dose not work,

I really stuck and dont know how to solve it,

you will be kind enought if you help me.

thanks

SQL R2

$
0
0

Our SQL Server was update to R2 this past weekend and now we are receiving “unable to display” errors.  Any assistance would be appreciated

RH

Password Registeration Portal - Communication Error

$
0
0

Hi

My Name is Khaled and I work as a System Engineer for Microsoft Partner in Qatar. One of our customers needed to deploy MIM 2016 in order to let user reset their own passwords. I am assigned to do this project.

I mad a lab and have done all steps mentioned in TechNet article https://technet.microsoft.com/en-us/library/mt150255.aspx

and when I access Password Registration Portal, I receive the following error:

Please help.

Thanks.

Viewing all 6944 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>