Azure AD App Registrations, Enterprise Apps and Service Principals
Вставка
- Опубліковано 6 лют 2025
- Don't be afraid! In this video we walk through what exactly app registrations, enterprise apps and service principals are without really talking that much about Azure AD :-)
Whiteboard image on my random stuff GitHub repo at github.com/joh....
0:50 - INTRO
3:40 - OAUTH2 INTRO
8:15 - USER CONSENT SETTINGS IN AZURE
12:10 - CONFIDENTIAL AND PUBLIC CLIENT
13:40 - GETTING THE TOKENS
20:00 - AZURE AD APP REGISTRATION
25:32 - WHAT IS SERVICE PRINCIPAL
26:52 - ENTERPRISE APPS
28:30 - MULTI-TENANT APPS
31:40 - SUMMARY
This is by FAR the best explanation of what can be a very confusing topic that I have seen. You out did yourself here John, thank you!
Glad you enjoyed it!
I completely agree!
The designer for App Registration/Enterprise apps/service principals must have been so bad.... thanks for this video
I second that motion. Excellent explanation. Thank you!
Agree by FAR also. Excellent. Congratulations and thank you so much for this quality training video.
Thanks so much. This video is now 3 years old, still explains the concepts like no other video does.
Congratulations - what has always been a really confusing area has now become crystal clear. I had to watch it twice to make sure I thoroughly understood it (and will probably have to watch it again if I need to remind myself a few months down the line). But you have achieved what the Microsoft doc could not. (Also had much-needed research into OAuth 2 in the process, so win-win!) Thank you :)
Glad it was helpful!
When I first started to take an interest in technology it was through reading incredibly dry text books from the library. Thank god for people like John who make the constant learning journey much more accessible and enjoyable 👍
Someone said: If you can't explain it simply, you don't understand it well enough
I was enjoying this video just like eating a piece of cake. Not only this video, but all your channel is also saving tons of time for our world lol.
Cheers buddy
Glad you enjoyed it!
Wow, great content, John! When you showed how the Enterprise Apps are only listing the Service Principals and that you would have one SP in every AD that wants to access the app - that was really an "AHA-moment" for me. Thank you so much for this excellent explanation
Glad it was helpful!
I can't believe you made a video of this over three years ago! So glad you did, because now it's more understandable. BTW, your handwriting is so much better these days 😄
I've recently passed the AZ-700 because of your videos. Thank for making them. Recently, I take interest in security and yet again your knowledge help my through a lot. How can I thank you enough!!!
Glad you like them and huge congratulations 🤙
excellent explanation. I was setting up App Registrations in Terraform and couldn't' understand where the Enterprise Application was getting created from, but now your video explained it
This has to be the best explaintaion on workings of AAD I have ever seen. Thank you
Glad it was helpful! Thanks!
@mromar, I totally agree with you. Amazing explanation @John
Totally agree.
I've seen a few videos that tried to explain this topic, however John's video is really the best.
Stellar work.
Finally, someone who can explain this whole process in a way that actually makes sense. Great video, keep it up!
Thank you
Woah! I read through so many different sites trying to understand these topics without any success. This video cleared up everything for me. Thank you for creating this.
Half hour of explanation and pages of diagrams, "that's literally all there is to it!". Made me smile lol. Seriously though, great video and very helpful thank you.
100% the best video on AAD app registrations, ent apps and SPs! I just watched several of them and NONE were as clear as John's.
This is fantastic! I've been struggling to understand this, not sure why everyone else made it so complicated to understand, pretty sure some just want to flex their technical jargon to confuse people 😄 Thank you !!!
Right, so I was trying to get my head around the concept of Apps and enterprise apps, read a lot of blogs and the official documentation. Just didn't stick.... After watching this it all makes sense! Thanks John!
After 3 years, i keep coming back to this video. Love your work as always John!
I'm really amazed. The Microsoft docs were making me run in circles but this video was more than enough to understand such a complex topic
beautifully explained, my search for a a proper explanation of the App Registrations and SP's finally ended with this video. Thanks John
Holy shit John. I have been struggling with this topic and looking at all kinds of resources to grasp it. And you come along once again with such a bang on lecture. I dont know how you always end up being so successful at teaching me things others fail to upload in to my brain.
Thank you!
Glad could help
My god! How can he explain everything so clearly and I discovered I knew wrong information till today after watching this video. Thank you so much ❤
I really search for all your videos over internet..You are one of the best trainer I have found...lucky to have you in youtube ...Thanks !!
I appreciate that! Thank you!
I was totally lost when I was watching this video for the first time. After I learned OAUTH2 and other concepts here and there for several days and come back to watch again, all the contents in this video are crystal clear and really well organized and presented. Thank you so much.
Wow! Absolutely brilliant. It doesn’t quite come through like this when reading the documentation over and over again. TY for explaining the Svc Principal and the difference between App Reg and Enterprise Apps.
One of the most complicated topics in Azure AD. Well explained 👏🏼
Glad you think so! Thank you!
This really is fantastic. The Microsoft docs are really hard to grok, and this was exactly the information I needed. Bravo, and thank you so much.
I'm glad it helped make things clearer!
Brilliant training from John on a subject I have always had problems grasping. I watch alot of John's courses, he is an amazing teacher.
You are right, I did have to watch this twice, It all clicked towards the end of the vid & made a lot more sense the secondtime round. Awesome Thank you :)
Thank you so much for making the best training videos. This is the best explanation I have seen so far.
This video is gold. Been trying to understand this flow for years, and finally, this video did it for me. Thank you!
Glad it helped!
That is the best explanation I have found so far. Your contents are very quality, thanks John!
Very well explained, you should write the documentations for Azure, I read and read and haven't fully understood it. But now, I got it! Thank you very much. It really helped me.
THANK YOU! Your video should be a mandatory course for anybody entering devops
This has to be the best explanation of Azure App Directory and its working.. Thanks John.
Happy to help
@@NTFAQGuy BTW John. I have an app registered in my AAD. It is a confidential multi-tenant application. I couldn't find any proper doc explaining the process to make my app available publicly for other tenants (Release). Or isn't there any such thing as release ?. I can just share the installation URL so that the other tenants can access my application. Won't there be an validation by the MS team ?. Any help on this.
It's very obvious that you enjoy teaching Azure. I hope I can get to this level of understanding Azure. Keep up the great work.
Thanks, I do. good luck.
Very nicely explained. Perfect to watch 2 time and you understand all about app registration and oauth 2.0
This is the best and very clear explanation of these complicated concepts. Thanks so much John.
Glad it was helpful!
your videos are so good that as soon as you say " If that was useful, please like". I feel compelled and obligated to drop everything and smash that like button. You are one awesome teacher. I am also a teacher like you, I go as far back in the history as it is needed to establish a strong foundational understanding. Thanks for being you.
Wow, that is so kind, thank you
Explained very complex topic in very lucid manner. Thank you for creating such awesome content!
Glad you liked it!
This cleared up a lot of confusion I was having for how the Azure apps work, now I know what the difference is between the apps and the enterprise apps finally, thank you!
Great to hear!
Absolutely fantastic, I read numerous documents over the space of a week and this video explained the equivalent of hours of reading in a 30 minute video and made it a lot simpler to understand, brilliant, thank you :)
You're very welcome!
Great summary at the end. I'll probably need to watch this again but certainly something is starting to click
A lot of things got clear in my head after watching this video! I like your teaching style, very clear, concise, and one that keeps your attention. I'll surely watch other videos. Thank you John, appreciate it!
Thanks, glad you liked it.
Thanks you Savill... while I understood the nuances of OAuth 2.0 flows and the AppID, SP and Managed Identities, could not tie them all together... this is really good. Thank you
Man, what a explanation!! Thanks for the video, great and simple explanation!!
Thanks John, appreciate this. Will, definitely need a few views of this one. Thanks for putting this out there.
A damn eye opener... jeez, finally I got the answer I was looking for! A lot of kudos to you! Subscribed and following :)
INTRO: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
OAUTH2 INTRO: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
USER CONSENT SETTINGS IN AZURE: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
CONFIDENTIAL AND PUBLIC CLIENT: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
GETTING THE TOKENS: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
AZURE AD APP REGISTRATION: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
WHAT IS SERVICE PRINCIPAL: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
ENTERPRISE APPS: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
MULTI-TENANT APPS: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
SUMMARY: ua-cam.com/video/WVNvoiA_ktw/v-deo.html
Thanks I'll add this to the description as a set of chapters.
@@NTFAQGuy Thank YOU for all those contents. Preparing my class of SC-300. Cheers!
Thanks a lot John, you made complicated and confusing concepts easy enough to understand.
Glad it was helpful!
great tutorial, on your diagram labeling the Client as "Client App" would help to provide clarity. Once you mentioned "Client App" things became clearer
haha, sadly can't go back in time and change :-)
Always been confused on this topic, what a clear and simple explanation . Thanks a lot❤.
You're most welcome
Thank you for this explanation! I'm a UX designer who was curious about what my scrum team developers meant whenever they mentioned 'service principal' amongst themselves. Now I know 👏🏼
You are so welcome!
One of the best explanations so far on the internet, Thank you John
Woow that was SUPER clear! Thanx man!!!
You're welcome!
Wonderful Correlation Explanation : Thanks John and Appreciate your efforts to end everything Sensible.
The best video I have found on this topic, thank you John.
Glad it was helpful!
Very good presentation. I'll have to rewatch this a few times though to grasp all of it. Thank you!
The quality of your content is amazing. Thank you!
Very welcome
Phenomenal explanation @john savill. I'm exploring creation of a Shared Image Gallery to be used other tenants, and couldn't fully grasp the 'why' behind the app registration. Your video gave me the understanding I needed.
Great
After basking in the concepts that you poured out in this video, just made my day. Thanks a lot for this video John.
Glad it was helpful!
love the way you explain the concepts, loved it always John. Thanks!!
tyvm!great videos, I really have a struggle on azure but thanks to this video , it is so clear
This is such a good explanation of it, there were a few parts that were only buzzwords and nothing else for me and this really put the pieces together for me in a territory where I haven´t felt all too confident before, thank you!
Glad it helped!
Thank you so much. i have been very struggling to understand these topics and your video really make my dots connected to line. I will for sure re-watch it a few times to deepen my understanding :)
Very useful and complicated topic. Thanks for breaking the complicacy and make it easier to understand.
Very kind, thank you!
I'm here because I suddenly need to set up Enterprise Apps, App Registrations, and App Roles for microservice intercommunication and the Azure terminology alone doesn't help me understand the differences between these resources. I'm also trying to understand where Service Principals and Managed Identities fit into all this. Thanks for the great explanation of the underlying athn/authz process.
I have other videos about auth including one on unattended auth where I cover managed identities and service principals.
Great Explanation about App Registrations and Enterprise Apps. Thanks John!
My pleasure!
Still the best video on azure app authentication
Nice explanation! Tying the OAuth2 and OpenID to Azure AD and explaining the flow was exactly what's needed! Thanks John!
Glad it was helpful!
Loved it, thanks for explaining it in layman terms. I have been working on AAD for sometime but never was able to wrap my head around Application Registration and Service Principal.. 🙂👍
My pleasure.
This is how you teach. I'm shocked, man. Fantastic work and thank you.
My pleasure!
Such great content! You really make a difference in making IT content widely available. Greetings from Costa Rica :)
I am JUST beginning to comprehend this material while learning the basics of working with the Microsoft Graph API.
Thanks for the great content. I just wanted to make tiny addition/correction (but what i believe its important especially when trying understand these cryptography related things :) ), when the pkce added to code grant flow, first, client sends the sha256 hashed -cipher- of random string that its generated (as you said in the video) and then from the backchannel it does not sends the cipher again, it sends the plain text string generated in the beginning(with tls secured) and delegates it to idp to hash it with sha256 and compare the two hashes and understand that if its the same client. The video is great as always, thanks for sharing these kind of qualified contents.
Cool, thank you for sharing.
Thank you so much for a great explanation.
My Thoughts: You have combine Oauth explanation in general with this video.
*In my opinion, it can much simpler by explaining - what is Application in Azure, App Object, Scopes and Service Principal. And on top of that how client can connect Resource via Service Principal. That would hold much more value in my opinion.*
This is just how I think it best to explain but sure there are many others and different approaches may work better for sure.
@@NTFAQGuy i agree, thanks again for a great video.
So helpful in so many ways. I really hope you start a Microsoft University.
Best and concise explanation of IDP and Azure AD. Thanks!
Glad it was helpful!
Thanks Jhon for the tutorial video. As you initially said if you learn why then how part becomes easier. Completely agree and the way how you dissect and explain its very good of you.
Cheers
Glad it was helpful!
A complex topic made simple and understandable. Thank you John 😊
Glad it was helpful!
this was great! appreciate you making these videos!
I could finally understand the relation between graph API and appregistration.
Great
Thank you John. One of the best, crystal clear explanations i have heard so far. Until i watched this, i was under the impression that App Registration and SPN are synonymous :). Your way of teaching in whiteboard make things crystal clear. Hopefully some time in the future your pluralsight videos will also have the same format.. :)
That is very kind, thank you. I don’t think pluralsight will want me teaching on the whiteboard but who knows :) I try and supplement here in the UA-cam ;)
Thanks for breaking it down..I had to watch it twice :-)
Explained wonderfully!! Easiest explaination I have come across. Thank you for the content.
Glad it was helpful!
This is really helpful session. I really appreciate your efforts for creating it in depth.
Studying for my AZ-500, this video really helps. Thank you John!
Best of luck!
Thank you Sir, very useful explanation how services work behind the scenes, it has some basic similarities for authentication as with your lecture about ADFS, tokens, xaml and cookies, how different servers communicate, easy enough to follow, a good little condensed/concise session.
Thanks!
Another great video. Thank you for such a great explanation :)
Top Job John - crystal clear big man. thank you
Great explanation John..! thanks a lot for making this so simple..!
You are welcome!
Thank you very much. This helps me to have a better understanding of the application management in Azure. Microsoft really should give them a more meaningful name.
Glad it helped!
Absolute gem of a video
First off thank you for the very good walkthrough. Most people don't touch this topic.
We are updating a largish document management enterprise solution we sell to others for on premise install, but want to move to Azure AD and the Key Vault to for authentication and storing of secrets.
I'm having a hierarchy conundrum. Do we create a new Active Directory Tenant, with all new app registrations for our APIs and Clients for each new customer?
Most online examples show those tenant, registration and audience IDs as hardcoded. Seems like a lot of complexity creating different binaries for the same pieces of our solution for each install (and update)...
Thanks,
Kurt
It’s not a simple answer as depends on your app, is it multi-tenant etc. you likely need to get a consultant to go through detailed requirement gathering to give right guidance.
@@NTFAQGuy Spent 30 minutes this morning with someone MS's Azure team subcontracts with. Was more confused after than before. Will probably have to try it again with someone else. It's not Multi tenant by the definition I understand. Other than aggregating exceptions in the cloud for management purposes. A separate copy of the same binaries and SQL DBs with the same structure (and their own content) would exist exist at each location with their own private documents
siloed there.
Best app registration explanation ,Amazing job.
Glad you liked it
Finally! Someone made it make sense.
Great content; very clear and detailed. Thanks a lot!
This video was brilliant. Any developer that wants to improve their Azure AD knowledge needs to visit John's channel.
Thank you!
It was my forth video on the topic coz the three didn't help. Thanks a lot for such amazing video. Cheers 🍻
Glad it helped!
Thank You John, it was a very good session , you explain very well, appreciate it.
That's really an awesome work. Concepts are well articulated. Could you please explain more on back channel and front channel logic. That would also help us understand clearly why client receives code and then token separately due to security concerns.
That really comes down to oauth and the capabilities of the client if it’s capable of the back channel (although now nearly all clients are capable of some form)