exam questions

Exam SC-300 All Questions

View all questions & answers for the SC-300 exam

Exam SC-300 topic 1 question 63 discussion

Actual exam question from Microsoft's SC-300
Question #: 63
Topic #: 1
[All SC-300 Questions]

You have a Microsoft Exchange organization that uses an SMTP address space of contoso.com.

Several users use their contoso.com email address for self-service sign-up to Azure AD.

You gain global administrator privileges to the Azure AD tenant that contains the self-signed users.

You need to prevent the users from creating user accounts in the contoso.com Azure AD tenant for self-service sign-up to Microsoft 365 services.

Which PowerShell cmdlet should you run?

  • A. Update-MgOrganization
  • B. Update-MgPolicyPermissionGrantPolicyExclude
  • C. Update-MgDomain
  • D. Update-MgDomainFederationConfiguration
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
haazybanj
Highly Voted 1 year, 2 months ago
Selected Answer: B
The correct answer is B. Update-MgPolicyPermissionGrantPolicyExclude. The Update-MgPolicyPermissionGrantPolicyExclude cmdlet is used to exclude a policy from being applied to a specific set of users. In this case, you can use the cmdlet to exclude the self-service sign-up policy from being applied to users with the contoso.com SMTP address space.
upvoted 8 times
Labelfree
1 month, 1 week ago
The Update-MgPolicyPermissionGrantPolicyExclude cmdlet is related to permission grant policies and doesn't apply to self-service sign-up restrictions.
upvoted 2 times
...
...
PD1
Most Recent 2 days, 7 hours ago
Selected Answer: A
You are correct! The Update-MgOrganization cmdlet with the AllowEmailVerifiedUsers parameter can also be used to prevent users from creating accounts using self-service sign-up.
upvoted 1 times
...
Labelfree
1 month, 1 week ago
Selected Answer: A
Correct answer is A. B isn't even a valid command.
upvoted 4 times
...
Mole857
1 month, 1 week ago
Selected Answer: A
Isn't the correct answer A? Update-MgOrganization AllowEmailVerifiedUsers $false would block self-service sign-up to the tenancy?
upvoted 4 times
...
Tony416
4 months, 1 week ago
Selected Answer: B
MS Articles: https://learn.microsoft.com/en-us/microsoft-365/commerce/subscriptions/manage-self-service-signup-subscriptions?view=o365-worldwide#block-users-from-signing-up or https://learn.microsoft.com/en-us/entra/identity/users/directory-self-service-signup#how-do-i-control-self-service-settings
upvoted 1 times
Labelfree
1 month, 1 week ago
According to these links Update-MgPolicyAuthorizationPolicy which is not an option here. A is correct.
upvoted 2 times
...
...
d3ebc45
7 months, 1 week ago
Selected Answer: B
Import-Module Microsoft.Graph.Identity.SignIns connect-MgGraph -Scopes "Policy.ReadWrite.Authorization" $param = @{ allowedToSignUpEmailBasedSubscriptions=$true allowEmailVerifiedUsersToJoinOrganization=$false } Update-MgPolicyAuthorizationPolicy -BodyParameter $param
upvoted 2 times
Panama469
6 months ago
Yeah I'm not seeing the answer in this list, must be an updated question in the exam. I used to be Set-MsolCompanySettings but your Graph commands are whats in the article.
upvoted 1 times
...
...
jtlucas99
7 months, 4 weeks ago
Per Copilot: C. Update-MgDomain. The Update-MgDomain cmdlet is used to update the properties of a domain in Azure Active Directory (Azure AD). You can use this cmdlet to disable the ability for users to sign up for Microsoft 365 services using their contoso.com email address. Please note that the other options: A. Update-MgOrganization is not related to managing user sign-ups. B. Update-MgPolicyPermissionGrantPolicyExclude does not exist. D. Update-MgDomainFederationConfiguration is used to manage federation configurations, not user sign-ups. Therefore, option C is the most suitable choice for this task. If you dont give the answer options: To prevent users from creating user accounts in the contoso.com Azure AD tenant for self-service sign-up to Microsoft 365 services, you should run the Set-MsolCompanySettings cmdlet with the -UsersPermissionToCreateSelfServiceApplication parameter set to $false.
upvoted 1 times
...
JuanZ
9 months ago
la opción A, es la correcta. https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/directory-self-service-signup
upvoted 2 times
...
belyo
10 months, 1 week ago
Selected Answer: B
https://learn.microsoft.com/en-us/microsoft-365/admin/misc/self-service-sign-up?view=o365-worldwide#:~:text=To%20control%20whether%20users%20can%20sign%20up%20for%20self%2Dservice%20subscriptions%2C%20use%20the%20Update%2DMgPolicyAuthorizationPolicy%20PowerShell%20cmdlet%20with%20the%20AllowAdHocSubscriptions%20parameter. however when you go to MG documentation for that CMDlet this parameter is not even listed. Most likely is changed to these allowedToSignUpEmailBasedSubscriptions=$true allowEmailVerifiedUsersToJoinOrganization=$false
upvoted 2 times
...
Shuihe
1 year ago
B You use the Update-MgPolicyAuthorizationPolicy cmdlet with the AllowAdHocSubscriptions parameter to control whether users can sign up for self-service sign-up subscriptions.
upvoted 1 times
...
rabicon
1 year, 1 month ago
Selected Answer: B
I stand for B
upvoted 1 times
...
Ed2learn
1 year, 2 months ago
I think the answer is B. The given answer seems to be related to the organizational data not setting what can and cannot be done within the organization. B does provide mechanisms to prevent user actions. C - doesn't seem to apply at all.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago