Can I import bcrypted passwords into Azure AD B2C? - azure-active-directory

I have a database of users with bcrypted passwords. Obviously, I cannot turn them into plaintext passwords, but that is what seems to be expected in the AD Graph API:
https://learn.microsoft.com/en-us/graph/api/resources/passwordprofile?view=graph-rest-1.0
Since my database is not an Active Directory, the AD Connect also will not work.
Is there any way to migrate the passwords to AD without bothering users?

No, instead use this approach:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/user-migration#seamless-migration
https://github.com/azure-ad-b2c/user-migration/tree/master/seamless-account-migration

Related

Changing "on-premises mastered Directory Sync objects"

Sometimes you ask yourself a question and cannot answer or google the answer.
Question:
Is there any way to turn a single "on-premises mastered Directory Sync objects", to a "cloud mastered object"? Specificly a user account.
Can I revert this if I try with a real account?
And the major question: Thoughts about the consequences?
Background:
We move more and more processes to the cloud and I am beginning to "feel the need" for changing this. So I want to investigate the consequenses of changing, what breaks and what makes the change (if possible).
We have:
Office365 (mail,sharepoint, etc), onprem ADFS, AzureAD Sync. I am most worried about ADFS, since the account must be able to authenticate onprem. ~20.000 users and a applications onprem of all sorts.
As you aware in synced identities objects are mastered in our on-premise AD structure and cannot change it. If we need to make changes and edits to any of our users, this needs to be made on our on-premises AD structure. Once those changes are made, Azure AD Connect will then synchronize those up to Azure AD, and you'll see those changes after the next synchronization run.
Mostly Azure AD Connect assumes you start with a new Azure AD tenant and that there are no users or other objects there. But if you have started with an Azure AD tenant, populated it with users and other objects, and now want to use Connect, then kindly check this link.

Azure AD to forge rock user sync

I want to sync users from Azure AD to Forgerock open. Whenever users are created/deleted in Azure AD. I want the users to be created/deleted in forge rock open. I have established the SAML federation between forge rock and Azure AD. Any suggestions on how this can be done.
OpenAM is not able to actively sync any users. OpenIDM is the Forgerock tool for syncing/provisioning users. However, I'm not sure if there is a connector for (live-)syncing Azure AD, but you will probably find it out if you plan to use OpenIDM.
What should probably be possible is to use JIT-Provisioning to store those users logging in via federation to an LDAP/OpenDJ userstore. But that means users will only be updated when they login (and thus will never be deleted).

Can you sync different AD domains under one Azure AD domain?

My problem is that we have 2 On-Premises Active Directory domains:
mycompany.com
mycompany-dev.com
Some people are present in both of these AD-s. I want to sync them with Azure Active Directory so that they are all represented once, and all have the #mycompany.com suffix (instead of #mycompany.onmicrosoft.com). I also don't want some users to have #mycompany-dev.com in their azure AD account login name, so I want to do some sort of mapping I guess.
Is this possible with Azure AD Connect, or do I have to implement a synchronization method manually?
You can sync multiple on-premises domain to Azure AD. Kindly check the link and you will get a detailed information about different topologies supported

Azure AD User and attribute export

I'm working with a third party application and I need to get a copy of the user directory from a clients Azure AD. I've searched the docs/google and had trouble finding a simple automated solution for syncing the user database.
Is there any way I can user LDAP to import a copy of the users to a third party solution, similarly to how it is done with on-premise AD?
"I need to get a copy of the user directory from a client's Azure AD" - if you want to import users from Azure, unfortunately user writeback is not currently supported. You can upvote the feature request below. The feature was removed back in 2015.
https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/16887037-enable-user-writeback-to-on-premise-ad-from-azure
https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-preview

Adding two claim providers with same certificates ADFS (SAML2.0)

I have been trying to add a "virtual" claim provider (SAML 2.0 Identity Provider) in ADFS, I have another claim provider with same certicate. I get this error on ADFS2.0 in windows Server 2012
MSIS7600 Each Signing Certificate value for a claims provider Trust must be unique across all claims provider trusts in ADFS 2.0 configuration
Is there any workaround to avoid this issue?
No, I got the same thing here. Appearantly it must be unique. I tried to add 2 tenants (2 customers) coming from Windows Azure Active Directory where all claims of all tenants are signed with the same certificate.
The first one works perfectly but on the second one the MSIS7600 refuses to let me add the second Claims Party.
We had the same thing here and solved it by using this trick
We created a new Azure AD with the purpose that this is the one we are going to add in ADFS.
For each customer tenant we want users to be able to login, we asked asked for read permissions to this tenant; this way it it added in your own subscription. We then selected the users from the customer tenant and added it to the Azure AD we are going to use in ADFS.
We connected ADFS to this Azure AD
All our customers can now login to the ADFS using their own credentials. The only thing we have to do is adding the existing Azure AD users from their own tenant to our Azure AD.
This way it let's you to add as many customers or external Ad's if you want and also not "showing" all tenants in the list of the ADFS page. Because there is only one tenant in ADFS there is no complain of the error MSIS 7600 and you don't have to update all tenants seperately.
Philippe is right. You can use AzureAD B2B feature that allows you to login in any Azure AD user in any tenant to be able to login. This is done by invite. This feature is in preview. This is the simplest choice. However, from an ADFS perspective, policy is on only a single entity. Home realm discovery can be a little more tedious.
We've also fixed ADFS 2016 to relax this constraint for a few reasons. We now constraint it on "Cert + claims-provider-identifier". In this world you will be able to add any # of Azure AD tenants distinctly. This fix will be out in the next preview (should be out soon).

Resources