exam questions

Exam MS-100 All Questions

View all questions & answers for the MS-100 exam

Exam MS-100 topic 5 question 30 discussion

Actual exam question from Microsoft's MS-100
Question #: 30
Topic #: 5
[All MS-100 Questions]

Your network contains an Active Directory domain named contoso.com.
You have a Microsoft 365 subscription.
You have a Microsoft Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com.
You implement directory synchronization.
The developers at your company plan to build an app named App1. App1 will connect to the Microsoft Graph API to provide access to several Microsoft Office 365 services.
You need to provide the URI for the authorization endpoint that App1 must use.
What should you provide?

  • A. https://login.microsoftonline.com/
  • B. https://contoso.com/contoso.onmicrosoft.com/app1
  • C. https://login.microsoftonline.com/contoso.onmicrosoft.com/
  • D. https://myapps.microsoft.com
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AlexanderSaad
Highly Voted 5 years, 3 months ago
In a single tenant application, sign-in requests are sent to the tenant’s sign-in endpoint. For example, for contoso.onmicrosoft.com the endpoint would be: https://login.microsoftonline.com/contoso.onmicrosoft.com. Ref: https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-convert-app-to-be-multi-tenant#update-your-code-to-send-requests-to-common
upvoted 24 times
stoneface
3 years, 6 months ago
Agreed with this. More specifications can be found here: https://docs.microsoft.com/en-us/graph/auth-v2-user
upvoted 1 times
...
lilalex
5 years, 1 month ago
Confirm. The answer is correct. You can see :https://docs.microsoft.com/en-us/graph/auth-v2-user https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize? client_id=6731de76-14a6-49ae-97bc-6eba6914391e &response_type=code &redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F &response_mode=query &scope=offline_access%20user.read%20mail.read &state=12345
upvoted 5 times
...
...
cricri
Most Recent 2 years, 2 months ago
On exam today
upvoted 1 times
...
Everlastday
2 years, 6 months ago
On Exam 03.04.2023
upvoted 2 times
...
Startkabels
2 years, 7 months ago
Selected Answer: C
Thought A initially but will go with the answer and explanation provided C
upvoted 1 times
...
gaem
3 years, 1 month ago
Selected Answer: C
C is the answer.
upvoted 2 times
...
Nilz76
3 years, 2 months ago
This question was in my exam on 06/April/2022. I passed.
upvoted 1 times
...
Wearsy
4 years, 1 month ago
C https://docs.microsoft.com/en-us/graph/auth-v2-user The {tenant} value in the path of the request can be used to control who can sign into the application. The allowed values are common for both Microsoft accounts and work or school accounts, organizations for work or school accounts only, consumers for Microsoft accounts only, and tenant identifiers such as the tenant ID or domain name. For more detail, see protocol basics. This then refers you to check the protocols: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols#endpoints
upvoted 2 times
...
barba76
4 years, 6 months ago
C is correct. A is tricky https://login.microsoftonline.com/contoso.onmicrosoft.com/ - works for users of that tenant https://login.microsoftonline.com/common/ - works for any users of any tenant
upvoted 2 times
...
mkoprivnj
4 years, 6 months ago
C for sure!
upvoted 2 times
...
Karl12347
4 years, 6 months ago
correct answer is A https://docs.microsoft.com/en-us/graph/auth/auth-concepts
upvoted 1 times
...
Fcnet
5 years, 1 month ago
As Alexander Said The C answer is correct : In a single tenant application, sign-in requests are sent to the tenant’s sign-in endpoint. For example, for contoso.onmicrosoft.com the endpoint would be: https://login.microsoftonline.com/contoso.onmicrosoft.com from https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-convert-app-to-be-multi-tenant#update-your-code-to-send-requests-to-common
upvoted 4 times
...
Ama100
5 years, 3 months ago
A is the correct answer. The login URL for apps is https://login.microsoftonline.com/" followed by tenant iD and tokens
upvoted 3 times
...
mgmjtech
5 years, 3 months ago
I don't think C is the answer. I leaning toward D.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...