exam questions

Exam MS-100 All Questions

View all questions & answers for the MS-100 exam

Exam MS-100 topic 2 question 70 discussion

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

DRAG DROP -
You have a Microsoft 365 E5 tenant.
You have a computer named Computer1 that runs Windows 10.
You need to list the properties of a Microsoft SharePoint Online tenant by using the CLI for Microsoft 365 on Computer1.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties?tabs=o365cli https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps&redirectedfrom=MSDN

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
MEG
Highly Voted 3 years ago
1. Install Node.js 2. Run npm install -q @pnp/cli-microsoft365 3. Run m365 spo storageentity list Referenz... for 1. > https://pnp.github.io/cli-microsoft365/user-guide/installing-cli/#prerequisites for 2. > https://pnp.github.io/cli-microsoft365/user-guide/installing-cli/#install-the-cli-for-microsoft-365_1 for 3. > https://pnp.github.io/cli-microsoft365/cmd/spo/storageentity/storageentity-list/#spo-storageentity-list But to run the command you have to login first with "m365 login". Reference login > https://pnp.github.io/cli-microsoft365/user-guide/connecting-office-365/#log-in-to-microsoft-365
upvoted 9 times
...
devilcried
Most Recent 2 years, 1 month ago
1. Install Node.js 2. Run npm install -q @pnp/cli-microsoft365 3. Run m365 spo storageentity list connect-sposervice is for Sharepoint- Powershell not CLI
upvoted 2 times
...
Meebler
2 years, 1 month ago
@MEG is right.. tested it :) Install Node.js: The CLI for Microsoft 365 is built on Node.js, so you need to install the latest LTS version of Node.js on Computer1. Download it from the official website (https://nodejs.org/) and follow the installation instructions. Node.js is required as a prerequisite for the CLI for Microsoft 365. Run npm install -g @pnp/cli-microsoft365: After installing Node.js, this command installs the CLI for Microsoft 365, which is a cross-platform command-line interface that allows you to manage settings and perform administrative tasks within your Microsoft 365 tenant. Run m365 spo storageentity list: After the installation is complete, you can connect to your Microsoft 365 tenant and list the SharePoint Online tenant properties. First, connect to your Microsoft 365 tenant using the m365 login command. Once authenticated, this command will display the properties of the SharePoint Online tenant in your Microsoft 365 tenant.
upvoted 2 times
...
sufisuffix
2 years, 3 months ago
In exam on 4th Feb 2023.
upvoted 2 times
...
Miqqo
3 years ago
https://devblogs.microsoft.com/microsoft365dev/getting-started-office365-cli-powershell/ https://pnp.github.io/cli-microsoft365/user-guide/installing-cli/ You don't use the SPO module to input CLI for M365 commands based on these sources. The product name is specifically mentioned in the question so I believe the CLI for M365 is what is being tested here. My assumption is that this is the new cross-platform way and you should therefore know it. You need Node.js, the install command and then based on the options available the command to do what the question asks. Is this really in the scope of this exam? Who knows.
upvoted 1 times
...
Balvosko
3 years ago
Wrong. -install node.js => it is prerequisite to run CLI "To use the CLI for Microsoft 365 you need Node.js. The CLI has been tested with Node.js versions 6 and higher, but we recommend you to use the Node.js" -> then install CLI itself -> run the command m365 spo storageentity list https://pnp.github.io/cli-microsoft365/user-guide/installing-cli/ https://pnp.github.io/cli-microsoft365/cmd/spo/storageentity/storageentity-list/
upvoted 4 times
...
rrivenn
3 years ago
- Install NET Framework - Install the Powershell Module - Connect to Sharepoint Online
upvoted 1 times
ARYMBS
3 years ago
But to my knowledge W10 comes with .NET 4.X pre-installed?
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