Posts

Why, dear God, why?

Great question. So, I have been supporting customers for years in various technical spaces and frankly, one day during the Pandemic, I think I just kind of snapped. Reading over countless technical documents had my mind ACHING for something a wee bit more creative. Then one day, as a sort of joke, I started explaining technical details to some of my team mates but I did it in rhyme. First it was a play on the song, "Let's talk about sex", but the topic was the GRAPH API. Went like this: Let's talk about Graph, AAD and MS graph, too you see Let's talk about both the endpoints and other main points like the client libraries. Let's talk about Graph let's talk about Graph... API ya'll... I know, I know... But it will get better. :) If nothing else, I have a creative outlet, and you have something to point at and sneer if you are the sneering type. Either way, I am doing it anyway. I will try to post references for those of you who prefer technical document...

Live getting you down?

Sometimes Single Sign On gets somewhat confused, Doesn't seem to care about the work account used. If your work account and live account are somehow the same, Authentication can break due to having a split brain. You see, in the cloud you need one source to authenticate. If housed in two sources, the account becomes desiccate. For the portal doesn't know which source to talk to, So it shrugs its shoulders and says, "I don't know you". So to check if your work account, is also MSA/Live, A powershell command will help you to thrive. Just copy and pace the command from below, put in the work SMTP address, and let the result flow. ConvertFrom-Json (Invoke-WebRequest -Uri "https://login.microsoftonline.com/common/userrealm?user= SMTPADDRESS &api-version=2.1&checkForMicrosoftAccount=true" -UseBasicParsing)  If the return for MicrosoftAccount turns out to be Zero, then the account is a Live Account, you've found it you Hero. The live account needs t...

Graph API tips

If you are wanting to manage AAD but only using .Net  The AAD Graph API, though no longer updated, will have you set.  But if other platforms and languages are your thing, The Microsoft Graph API will be the Yang to your Ying. The AAD Graph API endpoint is graph.windows.net, So make sure your permissions are properly set, The MS Graph API endpoint is graph.microsoft.com, Set perms right here too, or you'll be crying to your mom. "Mom, why don't my app work?" "Mom, why do I feel like a jerk?" Mom's just going to stop you and say: "My child, set your perms the right way!" So put on your adult britches, Take heed of these verbal riches, Set the right perms for you app, and show them all you give a crap. References: Microsoft Graph or the Azure AD Graph - Microsoft 365 Developer Blog Microsoft Graph REST API v1.0 reference - Microsoft Graph v1.0 | Microsoft Docs Azure AD Graph API Reference | Microsoft Docs Microsoft Graph permissions reference - M...