Microsoft Azure Managed Identity Deep Dive

Ғылым және технология

A deep dive into using managed identities and understanding what makes them tick!
🔎 Looking for content on a particular topic? Search the channel. If I have something it will be there!
▬▬▬▬▬▬ C H A P T E R S ⏰ ▬▬▬▬▬▬
0:00 - Introduction
0:22 - Why we need an identity for a resource
2:00 - Using a traditional service principal and how they work
10:19 - Managed identity introduction
12:30 - Services that support managed identity
13:29 - Types of managed identity
18:20 - Using managed identities
20:30 - Giving a managed identity a role on another resource
22:54 - Looking at MI service principals
25:35 - Managed identity resource provider
27:00 - Demoing a system-assigned managed identity in a VM
32:06 - MI with key vault pattern demo
36:03 - How this works behind the scenes
38:20 - Using a user-assigned managed identity
42:26 - Detail on the access token and MI benefits
45:52 - Some best practices
47:03 - Azure Arc support
47:32 - Summary
▬▬▬▬▬▬ K E Y L I N K S 🔗 ▬▬▬▬▬▬
► Whiteboard:
🔗 github.com/johnthebrit/Random...
► Demo script:
🔗 github.com/johnthebrit/Random...
► Demo script markdown:
🔗 github.com/johnthebrit/Random...
► Resources that support MI:
🔗 docs.microsoft.com/azure/acti...
► MI Overview:
🔗 docs.microsoft.com/azure/acti...
► How to use MI token:
🔗docs.microsoft.com/azure/acti...
► How MI's work:
🔗docs.microsoft.com/azure/acti...
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
📖 Recommended Learning Path for Azure
🔗 learn.onboardtoazure.com
📅 Weekly Azure Update
🔗 • Azure Infrastructure U...
☁ Azure Master Class
🔗 • Microsoft Azure Master...
⚙ DevOps Master Class
🔗 • DevOps Master Class
💻 PowerShell Master Class
🔗 • PowerShell Master Class
🎓 Certification Cram Videos
🔗 • Microsoft Certificatio...
❔ Question about my setup?
🔗 • My Setup
👕 Cure Childhood Cancer Charity T-Shirt Channel Store
🔗 johns-t-shirts-store.creator-...
SUBSCRIBE ✅ / @ntfaqguy
#microsoft #azure #johnsavillstechnicaltraining #onboardtoazure #cloud

Пікірлер: 90

  • @NTFAQGuy
    @NTFAQGuy2 жыл бұрын

    Hey everyone, welcome to this video all about managed identities! Please make sure to read the description for the chapters and key information about this video and others. ⚠ P L E A S E N O T E ⚠ 🔎 If you are looking for content on a particular topic search the channel. If I have something it will be there! 🕰 I don't discuss future content nor take requests for future content so please don't ask 😇 Thanks for watching! ☁🤙💪

  • @maneesh981

    @maneesh981

    Жыл бұрын

    You are Marvellous Super Genius

  • @_rmc
    @_rmc2 жыл бұрын

    The best bit about studying Azure isn’t only the curated learn cert paths but also that John somehow manages to bring out a new view about a month or two ahead of my learning curve; the deep dive videos are the best way to get ahead quickly and then read the docs and get hands on at a slower pace. Excellent as always John. Always looking forward to what comes next ;)

  • @Semtx552
    @Semtx5522 жыл бұрын

    incredibly valuable info, cheers! Especially the start where you articulate the ent app / reg app / SP interaction. i still struggle with that bit. I will rewatch your video dedicated to that subject.

  • @rgulamhussein
    @rgulamhussein Жыл бұрын

    Thank you for such a clear explanation John. Your video is worth a thousand pages of docs!

  • @robannmateja5000
    @robannmateja5000 Жыл бұрын

    Listened to this again for the second time (refresher). As usual, awesome content and presentation. Thank you!

  • @robadobdob
    @robadobdob Жыл бұрын

    I've literally just picked up a task to convert our apps to use Managed Identity so this video has been a godsend for explaining the ins and outs of it.

  • @gunknown370
    @gunknown370 Жыл бұрын

    I'm studying for the az-500 and your content is just the best out there! thanks for this

  • @amirjsayes
    @amirjsayes Жыл бұрын

    Simply outstanding! Very clear and very informative and enjoyable to watch 💪🏼 Keep up the great work

  • @yasimatech9769
    @yasimatech97694 ай бұрын

    Many thanks John, really learnt a lot from this session on managed identities in Entra ID (aka Azure). You've really nailed it in my head 💯

  • @naveenkumarn9917
    @naveenkumarn9917 Жыл бұрын

    Good content and delivery.Well prepared commands. Really helped me to visualize. Thanks John

  • @agostinopugliese5288
    @agostinopugliese5288 Жыл бұрын

    John, this video is amazing as always. Kudos to you

  • @s3999
    @s3999 Жыл бұрын

    John, that video is simply brilliant. Kudos to you.

  • @ehickeytube
    @ehickeytube Жыл бұрын

    Thanks John. Great content and better delivery

  • @cma9br
    @cma9br2 жыл бұрын

    I am a big fan of managed identities and you make things easy to learn

  • @niraj7616
    @niraj76162 жыл бұрын

    Excellent, watching this with a cup of tea in cold England 🥶 👍

  • @gwcooley
    @gwcooley2 жыл бұрын

    Great overview, excellent engaging teaching style. Thank you. Onward and upward!

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Glad you enjoyed it!

  • @olegshalnov1028
    @olegshalnov10282 жыл бұрын

    Great article! Thank you for doing this!

  • @rupeshchoudhary9237
    @rupeshchoudhary9237 Жыл бұрын

    Great teaching skills. .loved the whole explanation Bit . I would love enroll for a course on whole azure series if any.

  • @a29miller
    @a29miller Жыл бұрын

    Great Video! Gave me a much better understanding of this managed identity topic!!

  • @lltagged
    @lltaggedАй бұрын

    Great way to spend a saturday evening: Watching John explain stuff you did not know before.

  • @James-sc1lz
    @James-sc1lz2 жыл бұрын

    I needed this and you explained it really well as usual so thank you

  • @amirjsayes
    @amirjsayes6 ай бұрын

    Amazing 48 minutes of great content! Great work John 🎉

  • @expat64
    @expat642 жыл бұрын

    Outstanding session John! I knew a fair bit of this already, but you clarified the picture, as you always do, and filled the remaining gaps for me. This will also be invaluable training for my team! 🙂

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Awesome to hear! 🤙

  • @JeevarajanKumar

    @JeevarajanKumar

    Жыл бұрын

    +1

  • @michield6812
    @michield681210 ай бұрын

    Outstanding presentation. A lot of information in a short time.

  • @wesleygyger1210
    @wesleygyger1210 Жыл бұрын

    Good stuff. I didn't know what I didn't know until I watched this. Thanks for helping me understand this.

  • @atulpatel8708
    @atulpatel87082 жыл бұрын

    Fantastic video on Azure Managed Identities, thank-you so much !

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    You are welcome

  • @matthewmarquis4266
    @matthewmarquis4266 Жыл бұрын

    Thank you so much for this break down

  • @timurkalizhanov5281
    @timurkalizhanov52813 ай бұрын

    Very clear, structured and detailed explanation! Thank you very, very much for what you are doing!!!!

  • @NTFAQGuy

    @NTFAQGuy

    3 ай бұрын

    You're very welcome!

  • @lj7894
    @lj78942 жыл бұрын

    "Simplicity is Intelligence " Jiddu Krishnamurti - thank you John for makings things in Azure simple again! :)

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    My pleasure! Thank you!

  • @islamtoghuj
    @islamtoghuj Жыл бұрын

    Thank you our brother.

  • @toddhu2498
    @toddhu2498 Жыл бұрын

    I struggle a long time how MI magically dealt all the headache in SP. read all type of docs but always the information is here and there. The IMDS AND MIRP is really the key, surprisingly this video can use 40min to explain all my question that I researched like 1 week..

  • @wolkwijs324
    @wolkwijs3242 жыл бұрын

    Again a gem of a video! Thanks for another great deep dive!

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Very welcome 🤙

  • @oliviermalfroidt6405
    @oliviermalfroidt64052 жыл бұрын

    Thank you for this amazing content.

  • @robbrinkkemper1702
    @robbrinkkemper17024 ай бұрын

    I'm really thankful for the lessons learned from Azure Managed Identities. They've been incredibly valuable.😊📚🙏

  • @NTFAQGuy

    @NTFAQGuy

    4 ай бұрын

    Happy to hear that!

  • @Mo-iu3jf
    @Mo-iu3jf Жыл бұрын

    Awesome video, thanks a lot for sharing

  • @ranajitjana4030
    @ranajitjana40302 жыл бұрын

    Too good. Thank you for the video

  • @BhanuPratap88
    @BhanuPratap88 Жыл бұрын

    Thanks a lot great explanation of a very complex topic 👏👏

  • @JeremyTBradshaw
    @JeremyTBradshaw Жыл бұрын

    That was really great! Thanks very much.

  • @christianibiri
    @christianibiri2 жыл бұрын

    I learned a lot with this video! thank you sir!

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Welcome

  • @michaelwaterman3553
    @michaelwaterman355310 ай бұрын

    This is freaking brilliant!!! Thanks 🙏

  • @NTFAQGuy

    @NTFAQGuy

    10 ай бұрын

    Glad you like it!

  • @cnchandroo
    @cnchandroo2 жыл бұрын

    Thank you John for yet another wonderful session. It helped me to understand better how MI works internally and used with Azure resources for access management.

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Wonderful!

  • @hutchm92
    @hutchm922 ай бұрын

    Great explanation!

  • @NTFAQGuy

    @NTFAQGuy

    2 ай бұрын

    Glad it was helpful!

  • @lightyagami0ben
    @lightyagami0ben2 жыл бұрын

    Great content !

  • @michaelmendoza9824
    @michaelmendoza98242 жыл бұрын

    Absolutely Excellent Azure Managed Identity lesson/explanation! John Savill, you are an Azure evangelist Super Hero!!! I truly appreciate you! MM

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Thank you

  • @fxylk
    @fxylk2 жыл бұрын

    Amazing 🤩

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Thanks 🤙

  • @chaddoyle6911
    @chaddoyle69112 жыл бұрын

    Super Cool Stuff! I’ve just started learning these concepts and your teaching style is quite good. I have a question that came out of this video and that is that recently I decided to use a system mi even though there were multiple resources that could benefit from a user mi. I think I did it because there were trade off(s). Is there a simple answer and if not would you consider talking about the differences or sending me a link where you have talked about them?

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    I talked about why use UA-MI in the video. Don't really have anythign beyond what I explained.

  • @user-sx9tk3yu5m
    @user-sx9tk3yu5m2 ай бұрын

    John the way you explain is just amazing ; that whiteboard is the best i have ever seen, it has a true Power 😁>>>>>>>> thanks for these series

  • @NTFAQGuy

    @NTFAQGuy

    2 ай бұрын

    Welcome!

  • @stepbabe100
    @stepbabe1002 жыл бұрын

    John Why am I only discovering you now? Awesome training and wonderful white boarding that is sorely lacking in other training I have watched. Keep up the awesome work? Any insight into Azure Synapse ?

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Glad you enjoy the content.

  • @SteveBonds

    @SteveBonds

    2 жыл бұрын

    John does a FANTASTIC job of using named chapters to enable us to search his content for specific things. I found his data services video which has a chapter on Synapse this way. He also talks about how to search his channel in his recent "learning Azure in 2022" video, which is a great intro to how to use all this amazing content.

  • @stepbabe100

    @stepbabe100

    2 жыл бұрын

    @@SteveBonds thank you much appreciated! I will go find that vid !

  • @omartin2009
    @omartin20092 жыл бұрын

    Excellent as always!! How do apps, once IMDS (in the example of the VM), gets the refreshed token? I guess as a dev (or a user of the VM), I'd have to manually get a refresh token (or code that to refresh the token every now and depending on the kind of resource) by doing some kind of CURL request (or PS or other method) because the token I downloaded at t=0 will become invalid at t=12h, right?

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    There is no refresh token. As I said in videos its app only flow with long lived access token. MSAL etc will take care.

  • @MrZakiHaider
    @MrZakiHaider2 жыл бұрын

    Great. thank you :)

  • @antoniemerks1375
    @antoniemerks13756 ай бұрын

    Thanks

  • @va55ag0
    @va55ag02 жыл бұрын

    Thanks again for another great video. Quick question about my scenario: My app is an API and, and therefore has its own App Registration (an identity!). It accesses Azure Storage accounts plus makes calls other APIs using Oauth 2.0 client credentials flows (I.e. I have to grant my app registration permission to the scopes of the other app registrations). In this scenario, would you still recommend using the managed identity to access the Azure resources? To me, it seems strange for my app to have multiple identities.

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    like all consulting i think it depends :-) there are resiliency benefits as i talked about but maybe the complexity not worth it for you to have multiple.

  • @StarvedForTime
    @StarvedForTime Жыл бұрын

    This video saved my ass. Liked and subbed

  • @cdoex1
    @cdoex12 жыл бұрын

    Thank you, this was a very good MI deep dive. But is it possible to have an even deeper dive? Regarding the IMDS endpoint in the example there were no authentication to that service present, so I guess that is handled some other way? The AppService MI sidecar uses some sort of internally injected private key for that) (In certain situations using the C# libraries for this, the proactive token refresh seems to not start after 12h, or half the token lifetime, but rather 5m before expiry, resiliency effectively defeated...)

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    I don't think a deeper dive would be of interest to most. I gave detail on how it works but really all you care about is in your service/language how to request it.

  • @cdoex1

    @cdoex1

    2 жыл бұрын

    @@NTFAQGuy Thank you, I managed to find the documentation that told the story on how IMDS worked and even posted the link here in a response to my comment above, but now that response seems to be missing.

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    @@cdoex1 I did include in the video description the link to the MS how it works. Links in comments are disabled so thats likely why not showing.

  • @cdoex1

    @cdoex1

    2 жыл бұрын

    @@NTFAQGuy Ah, of course, but who reads the description 🤦‍♂🤦‍♂ sorry...

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    @@cdoex1 lol

  • @AleksandarIvanov69
    @AleksandarIvanov692 жыл бұрын

    For the algorithm! 😁

  • @expat64
    @expat642 жыл бұрын

    So John, am I right in thinking that, in your VM scenario, anybody who can log into the VM implicitly has permission to use any of the MIs assigned to the VM, meaning you need to be aware that when granting somebody access to the VM, you are also granting them permission to use the MI, and if so, is this something that should be highlighted?

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    Right anything within that vm can use the MIs associated with it.

  • @HenryBuild-sp6or
    @HenryBuild-sp6or2 жыл бұрын

    your biceps as a load balancer :)

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    lol

  • @RonaldPostelmans
    @RonaldPostelmans Жыл бұрын

    create explanation of managed identities, thanks

  • @jatinnandwani6678
    @jatinnandwani66782 жыл бұрын

    Hey John thanks so much Can I buy you a coffee or can you please enable some method of contributing back to this channel

  • @NTFAQGuy

    @NTFAQGuy

    2 жыл бұрын

    That’s very kind but I don’t want to earn money from this channel. It’s my way of giving back to the community which is why I have no adverts etc. Just help spread word of the channel and help it grow would be awesome 🤙

  • @jean-baptistelasselle4562
    @jean-baptistelasselle4562 Жыл бұрын

    "some people" 😂🤣

Келесі