azure-samples / b2b-to-ad-sync Goto Github PK
View Code? Open in Web Editor NEWSample script that allows organizations to sync B2B guest accounts from Azure AD as shadow account in on-prem AD.
License: GNU General Public License v3.0
Sample script that allows organizations to sync B2B guest accounts from Azure AD as shadow account in on-prem AD.
License: GNU General Public License v3.0
I'd like to test this log in flow without setting up the whole script. from what I can tell it just creates a dummie account on prem, but I can't tell what links the on prem account to the b2b guest account.
what actually links the on prem ad account to the azure b2b guest account?
Running the script and just comes up with "Welcome To Microsoft Graph!"
No other output generated, when breaking it down line by line, looks like $UsersInB2BGroupHash not generating anything (just empty)
$samaccountname = $samaccountname -replace ".$"
should be added in #regio 6
I tired on my test environment and Customer's product environment. It's working well on my environment, but only partial user got synced to on-prem OU for my Cx's product environment.
I cannot really tell the difference between B2B guests. Captured fiddler trace and I can saw all the user are in the server http response. It looks issue happened on the active directory PS module. But we don't know how to troubleshoot and fix that.
And by the way, it seems if you have B2B Guest UPN with exact 20th char end with ".", you will fail to run the scirpt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.