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?
Suggested Answer: C
Get Premium SC-300 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
EM
Emmett
12 months ago
Just to clarify, B is for company settings, right?
AL
Alonso
1 year ago
I thought it was A at first, but B makes more sense.
LE
Leoma
1 year ago
Wait, are we sure about that? Seems too simple.
BA
Barrett
1 year ago
Totally agree, B is the right choice!
MA
Mary
1 year ago
I think it's B, Set-MsolCompanySettings.
LA
Lawrence
1 year ago
I thought Set-Mso1DomaininFederationSettings was related to federation, but I’m not entirely clear on how it ties into self-service sign-ups.
CA
Carmelina
1 year ago
I’m leaning towards Set-MsolCompanySettings, but I’m confused because there are two options with that name. Which one do we use?
GO
Goldie
1 year ago
I remember practicing a similar question, and I feel like Update-MsolFederateDomain was mentioned, but I can't recall the details.
GO
Goldie
1 year ago
I think the cmdlet we need is Set-MsolCompanySettings, but I'm not sure if it's the right one for preventing self-service sign-ups.
GR
Graciela
1 year ago
Okay, let's think this through. The question says the customer wants to store the Safes Data in Drive D, so I'm guessing the file that controls the storage location is the one I need to edit. My money's on DBparm.ini.
LO
Lorrine
1 year ago
Okay, let me think this through. I need to ensure I can use the service endpoint to connect to the read-only endpoint of storage1 in the paired Azure region. Creating a virtual network in the paired region might be the way to go, but I'm not 100% sure.
AN
Annice
1 year ago
Okay, I've got this. The pam_nologin module along with the /etc/nologin configuration file is the correct way to disable user logins except for root. I'm confident that's the right answer.