Forum Discussion
DavidBelanger
Microsoft
Nov 03, 2023HOW TO: Hiding the consent prompt for Single Sign-On
We've been working on the ability to hide the dialog shown to users on first connection to a new session host when Single Sign-On is enabled to allow the remote desktop connection. The steps have now...
DavidBelanger
Microsoft
Nov 14, 2023Thank you for the feedback Andrew_Allston. I plan to add a sample step-by-step instruction using Graph Explorer for those less familiar with using Microsoft Graph. Hoping to have it live the week after Thanksgiving at the latest.
Florian_Paternostre
Nov 30, 2023Copper Contributor
Hi DavidBelanger ,
Could you please do this step-by-step instruction ? I'm not familiar with MS Graph. I spent some time to figure out how to make this work without success... Thanks in advance it will be much appreciated !
- Sandeep DeoDec 01, 2023
Microsoft
Florian_Paternostre see if this article provides you the required information - Use the Microsoft Graph API - Microsoft Graph | Microsoft Learn
- Florian_PaternostreDec 01, 2023Copper Contributor
Sandeep Deo Thanks for the article.
I tried to do it with Graph Explorer without success.
I verified and assigned all required permissions (my account is global admin and I have consent all required permissions to Graph Explorer).
When doing the POST request to create the setting, I get the following error :Do I use the correct servicePrincipals ?
I tried the following IDs :- Microsoft Remote Desktop (App ID a4a365df-50f1-4397-bc59-1a1564b8bb9c).
- Windows Cloud Login (App ID 270efc09-cd0d-444b-a71f-39af4910ec45)
- Andrew_AllstonDec 01, 2023Iron ContributorYou need to look up those apps in your Directory and grab the object ID (SPN) for those app IDs and use those and NOT the app IDs themselves.
And since these exist already you need to use PATCH not POST to update the record. You will need to use POST for the next step when creating the group.
And remember you can always test with GET.