MIM 2016: Users do not have access to a FIM Portal

Suppose your FIM Service account can access the Portal, but other accounts cannot access the Portal. There are a host of reasons why this may happen. Lets say you have checked the MPRs that allow access for user, they are all enabled. The next question is do the users have access to the SharePoint site?

This screen in the MIM setup

Will that option the NT Authorithy\authenticated users group is given read rights to the FIM Portal site. If this option is not selected or if FIM/MIM setup does not complete for some reason then the read rights are not given to the NT Authorithy\authenticated users group.

So thanks to a very good blog article by Karchworld, I was able to resolve it.

Open a Sharepoint PS session

$myMIM = Get-SPWeb -Identity http://tlkimim01/IdentityManagement

$myMIM.Users

If you don’t see NT Authorithy\authenticated users then you have an issue. Lets add that group

# Set a reference to the authenticated users

$account = $myMIM.EnsureUser(“NT AUTHORITY\authenticated users”)

# Set a reference to the Read (only) role definition

$role = $myMIM.RoleDefinitions[“Read”]

# Instantiate a new role assignment object for the authenticated users

$assignment = New-Object Microsoft.SharePoint.SPRoleAssignment($account)

# Bind the role to the new role definition

$assignment.RoleDefinitionBindings.Add($role)

# Add the role assignment to the web site.

$myMIM.RoleAssignments.Add($assignment)

# Release the reference to the web site for garbage disposal

$myMIM.Dispose()

 

3 thoughts on “MIM 2016: Users do not have access to a FIM Portal

  1. This is not working for me, any other solution? & my NT Authorithy\authenticated users is already added, but still the same issue persist, please help.
    Thanks

    Like

  2. Pingback: Access Fim - Enabling Fim Portal Access For A Regular Ad User Account

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s