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

Service and Portal Installation Error

$
0
0

I installed the Synchronization Service and it was able to connect to the database with SQL Native Client 12. I am now trying to install the MIM Service and Portal on the same server. However, it continues to give me "Cannot connect to the given SQL Server. Please check the server and instance name.

What do I need to do so that the MIM 2016 SP1 installation for the Service and Portal talks to the database.

Any help would be greatly appreciated.


Having difficulty comparing aadconnect configuration between a new staging server and the primary

$
0
0
I've installed a new aadconnect staging server, and I'm working to make sure the configuration is the same, but I'm having difficulty feeling confident the staging server is identically.  I've used AADConnectConfigDocumenter to compare, which is causing me more confusion than helping. I've used a number of other articles as references that are not helping much either. They are both at the latest version 1.4.38.0.  Can anyone provide a process, or checks they follow to feel confident the synch will be the same for a new aadconnect server?

Possible bug: MIM 2016 PAM and removal of Shadow Principal membership

$
0
0

TL;DR: 
Users do not get removed from shadow principals by PAM Component Service upon manual deactivation of PAM role membership. Removal from regular security groups works as intended. TTL based group membership also works. Correct access has been granted to the service account. 


So I have a 2016 AD domain/forest (PRIV) with MIM 2016 SP1 and PAM configured (4.4.1302.0). I also have a 2012 domain (CORP - One-way trust). 

I have configured PAM groups and roles using the cmdlets, which creates a shadow principal object as expected. Any access requests through the API results in the user being added to the shadow principal (with a TTL as expected). So far so good.

But if the role is manually deactivated before the TTL has expired, I can see all the request go through successfully (the TTL of the PAM request is set to 0 and it is expired). However the user is never removed from the shadow principal by the PAM Component service. Yes, the service account has been granted the proper permissions to do so, and no failure audit is logged. It simply seems as it never even tries to remove it from the shadow principal at all. The ETW trace shows a few log messages saying that it found an expired/closed membership and that the user was removed from the shadow principal, so it knows that it's dealing with a shadow principal and not a security group at this stage. 

"User 'sAMAccountName', (Priv SID 'S-1-5-21-PRIV-SID-1688') was removed fromshadow principal CORP.GroupName (SID 'S-1-5-21-CORP-SID-131870')"

However no removal (or failure events in MIM/Event logs) actually occur. 

If I on the other hand create a regular security group and assign a role to it, the above procedure works. The user is added to the group when requested, and if the request is manually closed, the user is removed from the security group by the PAM Component service. 

User 'sAMAccountName', (Priv SID 'S-1-5-21-PRIV-SID-1688') was removed from group GroupName (SID 'S-1-5-21-PRIV-SID-3106')

So in other words, log wise everything looks OK, but when it's dealing with a shadow principal nothing actually happens even though the logs state that 'the user was removed'. 

Has anyone else run into this and perhaps can shed some light on this behavior? 


Andreas


Unwanted removal of group membership (Existing Users)

$
0
0

Hello Team of MIM ,

As part of my configurations, I have added a user to group using MIM Portal (group properties Add Member), and while removing the delta changes, i mean the recently added user, along with that user other existing users are also gets removing from the group  and below is the workflow expression i have used.                                   (RemoveValues([//Delta/ExplicitMember/Removed]) and Target: [//Queries/Set/ExplicitMember] Allow Null: unchecked).
I would need your help on this to not to remove the existing users.

Thanks

MIM SP2 upgrade error

$
0
0

I am upgrading my MIM SP1 install to MIM SP2 and I am getting the dll is missing error:

There is a problem with the Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor.

I have verified that I have the following installed as this is suppose to fix the issue:

Download the Visual C++ Redistributable Package (Vsresist_x64.exe) from the following Windows Download Center

Error still persists for me.  I have run the package with logging enabled but only an really pull out the following error from the end of the log:

CustomAction DoCheckElevatedPrivileges returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (C8:D0) [08:39:40:289]: Note: 1: 1723 2: DoCheckElevatedPrivileges 3: DoCheckElevatedPrivileges 4: C:\Users\FIMINS~1\AppData\Local\Temp\MSIED7.tmp

Removing MIM PAM role

$
0
0

Hi everyone,

we're trying to remove PAM role via powershell:

PS C:\> $role = Get-PAMRole -DisplayName "CORP2 DA"
PS C:\> Remove-PAMRole -Role $role -Force
Remove-PAMRole : PAM role CORP2 DA cannot be removed because there is not expired request for it.
At line:1 char:1
+ Remove-PAMRole -Role $role -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-PAMRole], InvalidOperationException
    + FullyQualifiedErrorId : GeneralServerError,Microsoft.IdentityManagement.AdminPamCmdlets.RemovePAMRoleCommand

Has anyone encountered error like this one? 

Regards,

Jaksa


Is it possible to not provision if an MV object has a specific attribute value?

$
0
0

If a row in a SQL MA contains a field "status" and it has a value of "inactive" when it enters the Mv, is it possible to stop that account being provisioned into the connector space of the AD MA? Ideally, the SQL MA should filter on status=inactive to keep them out but the rules require they be in the Mv, just not provisioned anywhere.

The workflow would be:

  • SQL MA Import
  • SQL MA Sync
  • Do not provision to AD MA connector space if status=inactive

i.e. stop IMVSynchronization.Provision from working if status=inactive

thanks,

Alistair

My account is showing as a personal logon

$
0
0

When moving to the new MPN my account won't let me saying it is a personal email. How do I change this?

Thank you


Active Directory re-installed getting no-start-partition-delete

$
0
0

All,

Our active directory was all messed up for various reasons. The server team did a fresh install of the active directory. I had to go through hoops and was able to re-install MIM and MIM Portal. Initially, I was not able to login to the MIM portal as the SID to my account had changed. I updated the SID to the current value in Active Directory in the database and got it to work.

However now the Synchronization Service Management Agent is giving problems. I am getting no-start-partition-delete error. What is the best way for me to overcome this barrier? Any help will be greatly appreciated.

Grace and Peace,

Sylvester

Portal & Service fails with "solution-deployment-microsoftilmportalcommondlls.wsp-0 has been deleted by another user since it was last fetched."

$
0
0

I had a working portal and service until something happened (I deleted users from the portal) and it stopped working. After removing the portal and service the installer no longer works:

CAQuietExec:  An exception occurred while running Microsoft.IdentityManagement.SolutionPackUtility.exe: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. ---> Microsoft.SharePoint.Administration.SPDeletedConcurrencyException:
The object SPSolutionDeploymentJobDefinition Name=solution-deployment-microsoftilmportalcommondlls.wsp-0 has been deleted by another user since it was last fetched.

Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
C:\Windows\assembly\tmp\TF5ZP5MN\Microsoft.ResourceManagement.WorkflowContract.dll

...various other failed RemoveDirectoryAndChildren DLLs...

would there be something I need to do? Do I need to remove sharepoint too and start from scratch?

thanks,

Alistair

New version of Generic SQL.MA

$
0
0

Just wanted to announce that I recently released a new version of my Generic SQL MA - https://github.com/sorengranfeldt/sqlma

This MA have a lot of features that are needed for a modern FIM2010 or MIM2016 setup -

Full and delta imports
Delta and full exports
Can keep and revive deleted information / rows
Can execute pre- and post import/export Stored Procedures

The schema is very flexible and is generated based on the database tables definitions. A refresh of the schema for this management agent rediscovers the schema and you can override the structure in different manners using a configurable XML data.

Enjoy, Søren Granfeldt


Regards, Soren Granfeldt
blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt

User Profiles missing in SharePoint 2016

$
0
0

hello All,

Please help to resolve the MIM sync issue

1. Users are fully imported from AD to MIM And Users are visible in metaverse search.



3. These users are not appearing in sharePoint Central Admin even though Agent run successfully

management agents are created and configured, SharePoint service account is given correct permission on user profile service and DB. MIM service account  also given required permission

Please assist


User Profiles not showing up in SharePoint 2016 central admin + MIM

$
0
0

hello All,

users are not listing in below screen:



Please help to resolve the MIM sync issue

1. Users are fully imported from AD to MIM And Users are visible in metaverse search.



3. These users are not appearing in sharePoint Central Admin even though Agent run successfully

management agents are created and configured, SharePoint service account is given correct permission on user profile service and DB. MIM service account  also given required permission

Please assist



MIM VM Migration from VMWare to Azure Servers

$
0
0

The current MIM is deployed on VMWare servers, the plan is to migrate them to Azure VMs. 

What would be the strategy, Can we do this through snapshots or deploy and install the MIM from beginning.

Thanks,

Gouthami 


MIM DEV Server - Setup guide or Image/Template

$
0
0

Hi

I would like to setup a MIM 2016 DEV Lab in Azure

Any images/templates already built?

I would like to minimize the number of VMs as much as possible ... What is the very minimum of VMs?

By the way, does Sharepoint 2016 demands for more machine than SP 2013?

Thanks,

JD


MIMWAL Value Expression Documentation

$
0
0

Hi MIM People,

I've been configuring the MIMWAL update resource workflow and don't have any problems however it occurred to me that I don't know what Value Expressions functions are available and I can't find any documentation on it. I know there is InsertValues() and RemoveValues() and Null(). What other functions are allowed in the Value Expressions field and/or where can I find some documentation on them?

Cheers

Impact of 2020 LDAP channel binding and LDAP signing on IIS hosted ASP.NET web applications

$
0
0

Hi,

I have a question related to the security update (2020 LDAP channel binding and LDAP signing requirement for Windows) described

in https://support.microsoft.com/en-us/help/4520412/2020-ldap-channel-binding-and-ldap-signing-requirement-for-windows.

We have one ASP.NET based application with feature of searching users from Active Directory and adding selected user to our application. We are using .NET namespace (System.DirectoryServices) to handle AD connections and DirectoryEntry class for querying Active Directory by passing UserId, Password.

we will be modifying our code as given below to connect to secure LDAP:

searchUser =new DirectoryEntry(

 ConfigurationManager.ConnectionStrings["ActiveDirectoryConnection"].ToString(),                                              adUserName, adPassword, AuthenticationTypes.SecureSocketsLayer);

Along with that we will be using AD connection string as LDAP://<LDAPDomain>:636

This way we will make sure our application also connect to Secure LDAP. I hope this is what we need to do for movement to secure LDAP. Please advise if something more needs to be taken care.

Another question is from applications with just 

For application which are just using Windows Authentication and not querying AD as such, do we see any impact from perspective of movement to secure LDAP. Since for this type of application it is just Windows authentication which is happening and no code written as such to query AD. We have intranet and internet based application with Windows authentication enabled.

Please provide us advise on this.

Thanks

Sanjay Nipane


Sanjay Nipane

AD query to create a Recursive members in Dynamic group

$
0
0

i have a requirement to create a dynamic DL which will have all direct report

Like A has B and C has direct reports 

B has D , E , F reports 

C has G H I reports 

I am looking for AD query which will give me all the direct and indirect reports to A 

which will have members B, C, D, E , F , G H I 

Any suggestion and support would appreciated 

Groups Join/leave Email Notifcation

$
0
0

Dear All,

When the users added/Removed any dynamic groups the group join/leave notification need to be sent to the user.

the notification should include group name. how to achieve this.!

Need your help!

Thanks,

Shashidhar


Kerberos and MIM

$
0
0
Hi

I am trying to make everything authenticate with AES256 in our domain(s)
However, one service account(used with MIM) still authenticates with RC4. The traffic is between two domains. Other traffic between the domains is AES256.
I have run 
ksetup /setenctypeattr <trustingdomain> RC4-HMAC-MD5 AES128-CTS-HMAC-SHA1-96 AES256-CTS-HMAC-SHA1-96
on both domains and verified ok in adsi edit. It also made almost everything use AES256 encryption

Also checked the service account and ticked:
"this account supports kerberos aes128bit encryption"
"this account supports kerberos aes256bit encryption"
And restarted the service on MIM server. But it still authenticates with RC4.

I checked the domain controllers and found in secpol.msc:
network security: configure encryption types allowed for kerberos
I then removed RC4 but then the MIM server started complaining with this event:

An unexpected error has occurred during a password set operation. 
 "BAIL: MMS(7848): ..\dnutils.cpp(1341): 0x800700b7 (Cannot create a file when that file already exists.)
BAIL: MMS(7848): ..\dnutils.cpp(1341): 0x800700b7 (Cannot create a file when that file already exists.)
BAIL: MMS(7848): ..\dnutils.cpp(1341): 0x800700b7 (Cannot create a file when that file already exists.)
ERR_: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(58): Failed getting registry value 'ADMADoNormalization', 0x2
BAIL: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(59): 0x80070002 (The system cannot find the file specified.): Win32 API failure: 2
BAIL: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(114): 0x80070002 (The system cannot find the file specified.)
ERR_: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(58): Failed getting registry value 'ADMARecursiveUserDelete', 0x2
BAIL: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(59): 0x80070002 (The system cannot find the file specified.): Win32 API failure: 2
BAIL: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(114): 0x80070002 (The system cannot find the file specified.)
ERR_: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(58): Failed getting registry value 'ADMARecursiveComputerDelete', 0x2
BAIL: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(59): 0x80070002 (The system cannot find the file specified.): Win32 API failure: 2
BAIL: MMS(7848): D:\bt\52550\sources\dev\Sync\ma\shared\inc\MAUtils.h(114): 0x80070002 (The system cannot find the file specified.)
ERR_: MMS(7848): admaexport.cpp(4207): The Kerberos change operation failed: 0xc00002fd
ERR_: MMS(7848): ..\ma.cpp(8531): ExportPasswordSet failed with 0x80004005
Forefront Identity Manager 4.4.1302.0"


So I guess I can't force it that way.

The service account is from 2009 and has a service principal name made with "setspn" command.
Microsoft Identity Manager Password ChangeNotification Service (PCNS)  is installed on domain controllers and PCNSCFG commands has been used with the account.

Just thinking of stuff that might be related.

Any thoughts?









Viewing all 6657 articles
Browse latest View live


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