exam questions

Exam SC-300 All Questions

View all questions & answers for the SC-300 exam

Exam SC-300 topic 1 question 2 discussion

Actual exam question from Microsoft's SC-300
Question #: 2
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 Active Directory (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. Set-MsolCompanySettings
  • B. Set-MsolDomainFederationSettings
  • C. Update-MsolfederatedDomain
  • D. Set-MsolDomain
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
julioglez88
Highly Voted 3 years, 10 months ago
The correct answer is A As reference, Self-service sign-up: Method by which a user signs up for a cloud service and has an identity automatically created for them in Azure AD based on their email domain. Azure AD cmdlet Set-MsolCompanySettings could help you to prevent creating user accounts with parameters: AllowEmailVerifiedUsers (users can join the tenant by email validation)-->when is TRUE. AllowAdHocSubscriptions (controls the ability for users to perform self-service sign-up) e.g. Set-MsolCompanySettings -AllowEmailVerifiedUsers $false -AllowAdHocSubscriptions $false
upvoted 33 times
...
avdan16
Highly Voted 1 year, 2 months ago
I assume that when the exam gets updates, the answer will be Update-MgPolicyAuthorizationPolicy. Msonline is becoming obsolete.
upvoted 8 times
...
Obi_Wan_Jacoby
Most Recent 2 weeks, 5 days ago
Selected Answer: A
Answer = A. However, now that they are pushing Microsoft Graph, try to rember the below. Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization" Update-MgDirectorySetting -Id <settingId> -SelfServiceSignUpEnabled $false
upvoted 1 times
Obi_Wan_Jacoby
2 weeks, 5 days ago
Can also use the below Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization" Update-MgPolicyAuthorizationPolicy -AllowEmailVerifiedUsersToJoinOrganization $false -AllowedToSignUpEmailBasedSubscriptions $false
upvoted 1 times
...
...
Labelfree
5 months, 4 weeks ago
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 use the Set-MsolCompanySettings cmdlet. This cmdlet allows you to configure various settings for your organization, including disabling self-service sign-up. Here’s an example of how you can use it: Set-MsolCompanySettings -AllowAdHocSubscriptions $false This command disables the ability for users to sign up for self-service subscriptions1.
upvoted 1 times
...
RahulX
10 months, 3 weeks ago
Correct Ans: A. Set-MsolCompanySettings Most Voted
upvoted 1 times
...
dc864d4
10 months, 3 weeks ago
MSOL is EOL
upvoted 1 times
...
RahulX
1 year, 4 months ago
A. Set-MsolCompanySettings.
upvoted 2 times
...
sherifhamed
1 year, 7 months ago
Selected Answer: A
The correct answer is A. Set-MsolCompanySettings. To prevent users from creating user accounts in the contoso.com Azure AD tenant for self-service sign-up to Microsoft 365 services, you need to run the Set-MsolCompanySettings cmdlet with the -AllowAdHocSubscriptions parameter set to $false. This will disable all self-service sign-ups for all Microsoft cloud-based apps and services in the contoso.com Azure AD tenant
upvoted 2 times
...
EmnCours
1 year, 9 months ago
Selected Answer: A
A. Set-MsolCompanySettings
upvoted 2 times
...
dule27
1 year, 11 months ago
Selected Answer: A
A. Set-MsolCompanySettings
upvoted 2 times
...
francescoc
2 years ago
Selected Answer: A
The correct answer is A
upvoted 1 times
...
jack987
2 years, 4 months ago
The correct answer is A.
upvoted 1 times
...
[Removed]
2 years, 4 months ago
Selected Answer: A
Answer is A. Set-MsolCompanySettings is the correct answer as per Microsoft documentation. https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/directory-self-service-signup#how-do-the-controls-work-together:~:text=How%20do%20the%20controls%20work%20together%3F
upvoted 1 times
...
KrisDeb
2 years, 5 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/powershell/module/msonline/set-msolcompanysettings?view=azureadps-1.0
upvoted 1 times
...
clem24
2 years, 11 months ago
o control whether users can sign up for self-service subscriptions, use the Set-MsolCompanySettings PowerShell cmdlet with the AllowAdHocSubscriptions parameter https://docs.microsoft.com/en-us/microsoft-365/admin/misc/self-service-sign-up?view=o365-worldwide
upvoted 2 times
...
DemekeA
2 years, 12 months ago
You can use group-based licensing with any security group, which means it can be combined with Azure AD dynamic groups. The feature can only be used with security groups, and Microsoft 365 groups that have securityEnabled=TRUE.
upvoted 2 times
...
xurxosan
3 years, 1 month ago
Selected Answer: A
A is correct
upvoted 2 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