►
From YouTube: PnP Webcast - Introduction to Office 365 CLI
Description
Webcast at the Office 365 CLI, which is cross-platform, open-source command line tool to manage settings of your Office 365 tenant. It's an option for the other existing tooling to automate operations with your tenant or to perform actions with SharePoint sites.
You can find more details on the Office 365 CLI from http://aka.ms/o365cli.
A
Welcome
everybody:
this
is
SharePoint
patterns
and
practices.
Webcast
on
this
time,
we're
gonna
talk
about
the
office
365
CLI,
which
is
a
comment
line
tool
which
you
can
use
the
manager
of
it
365
tenant.
My
name
is
Erin
I'm,
a
Senior
Program
Manager
from
shipment
engineering
and
with
me,
and
today,
responsible
of
the
demo
and
obviously
participating
on
the
discussion
is
walled
X.
So
what
Aquila
did?
Okay,
quick
intros
as
well?
Absolutely.
A
Excellent
Thank
You
Waldeck,
so
the
office
365
CLI
is
a
a
new
tool
which
is
released
as
an
open
source
community
of
an
initiative
under
the
SharePoint
BMP
umbrella
and
well.
Dick
is
one
of
the
persons
coordinating
that
work
and
there's
a
lot
of
lot
of
smart
people
participating
on
this
open
source
initiative,
and
we
do
absolutely
like
I,
said
everybody
who
are
testing
this
out
and
providing
us
feedback
and
also
contributing
on
the
office.
365
seen
live
work
now,
if
you're
not
familiar
what
office
365
cell
is
obviously,
let's
start
by
clarifying.
A
Where
would
you
use
that
and
what's
the
use
case
for
this
airline?
So
this
is
a
cross-platform
common
tool
to
manage
your
office
365
tenant
settings,
so
you're
able
to
use
this
command
line
tool
to
connect
to
your
office,
365,
tenant
and
then
manipulate
settings
like
a
classic
example,
would
be
configuring
CDN
settings
within
your
office,
resister
foxier.
They
see
a
CDN
settings
in
your
choices
to
us,
tena,
it's
building,
no
chance
and
using
the
typical
CLI
approach.
A
If
you
come
from
a
windows
world,
you
would
be
like
what,
but
if
you
are
more
on
the
non
windows
fault,
this
is
actually
quite
typical
and
quite
natural
for
different
technologies
on
different
services.
To
have
this
realized
to
be
able
to
configure
these
settings
in
Windows
world
world
classically.
These
kind
of
things
have
been
doing
have
been
done
using
the
PowerShell,
which,
in
the
past
was
mainly
for
Windows
operating
system
in
the
future.
Powershell
is
actually
also
cross-platform
tool,
but
it's
a
it's
it's
kind
of
an
option
on
the
CLI
based
implementations.
A
So
the
key
point
here
is
that
this
does
not
reply
the
power
shop.
This
is
a
additional
well
alternative
for
the
tooling
bolt
for
some
people,
it's
more
natural
to
write,
powershell,
commandlets
and
powershell
scripts
for
some
people,
it's
more
natural
to
use
noches
and
CLI
prayer
based
implementations,
and,
like
mentioned
already,
this
is
community
driven,
so
ideas
and
questions
are
always
welcome
and
also
contributions
around.
These
commands
comment.
Let's
and
kasoori
comments
not
comment,
let's
in
this
case,
so
but
all
of
the
feedback
and
contributions
are
more
than
welcome
anything.
B
That's
hopefully,
you
put
them
perfectly
right:
it's
it's
not
a
replacement
for
anything.
It's
just
addition.
It's
it's
a
nicer
option
and,
as
you
said,
it's
an
open
source
initiative
and
we
welcome
help
not
only
in
a
form
of
development,
but
also
in
the
form
of
documentation,
marketing
material
like
videos
walkthroughs
scripts
right.
So,
even
if
you
are
not
a
dev,
you
your
your
self,
but
you
are,
for
example,
an
admin
and
you
write
scripts.
B
A
Absolutely
absolutely
now.
The
next
question
is
ok,
I
know,
I
know
what
is
an
office
365
say
live,
but
how
do
I
actually
get
started
on
using
that,
so
there's
actually
a
create
set
of
documentation
available
on
this
one.
So
if
you
go
a
kms
office,
365
0,
o
365,
say
a
line,
you
will
be
redirected
to
the
right,
documentation,
location
and
from
there
you
can
actually
find
then
the
instructions
on
how
to
get
started.
How
do
you
connect
to
office
365
and
what
are
the
commands
available?
A
Obviously,
a
line
has
a
really
great
help:
files
as
well
so
you're
able
to
get
the
descriptions
of
the
commands
true
to
CLI
as
well,
but
if
you're
not
familiar
with
the
CLI,
how
it
actually
works
go
to
the
documentation
and
it
will
show
you
step-by-step
how
to
get
started.
Now,
installing
the
office
365
say
a
line
is
running
to
NPM,
install
or
I
and
G.
We
could
mean
that
you
installed
a
globally
and
then
at
PMP
is
the
scope
where
we
will
have
more
and
more
communities
human
initiatives
through
SharePoint,
BMP
and
office.
A
365
CLI
is
the
package
name
and
after
when
you
install
that,
then
you
are
able
to
start
using
the
stielike
commands
in
the
command
command
tool
like
SPO
connect,
and
then
you
set
the
URL
where
you
actually
want
to
connect
and
will
show
all
of
this
in
practice
in
the
demo
as
well.
So
super
easy
approachable.
Obviously
this
supports
scripting
scenarios
as
well,
so
you
don't
have
to
be
interactivity,
interactively
signing
in
right
right
order,
so
able.
A
Now
to
be
able
to
understand
what
this
all
means
and
if
you're
not
super
familiar
with
the
CLI
setups,
let's
actually
have
a
live
demo
on
this
once
the
world
is
going
to
show
how
to
get
started,
how
to
install
how
to
do
the
connection,
how
to
configure
and
what
are
the
options
around
the
command
actual
commands
and
also
how
to
do
runtime
help
so
get
the
the
in
descriptions
of
individual
commands.
So
you
know
what's
actually
available.
So,
let's
jump
to
a
demo
on
one
text
computer
and
talk
about
more
on
on
the
CLI.
B
Alright,
so
let's
start
with
the
first
thing
that
that
you
have
to
do
meaning,
install
CLI,
so
here
we
assume
that
you've
already
installed
nodejs,
which
is
a
prerequisite
right.
So,
as
we
said,
CLI
is
built
in
note.
So
in
order
to
run
it,
you
have
to
have
note
installed.
We
assume
that
you've
already
on
that.
So
then
the
next
step
is
to
actually
install
it
and
you
can
install
it
either
using
NPM
or
yarn
or
any
other
package
manager
that
you
might
use.
B
So
for
that
you
would
run
NPM,
install
global
and
then
PNP,
office365,
CLI
or
for
short
NPM,
ID,
SG
and
then
a
package
name
and
that
will
actually
pull
down
the
package
from
NPM
and
unpack
it
and
install
it
on
your
machine
and
you'll
be
able
to
use
it.
It's
not
already
so,
with
that
I
get
I
get
a
new
access
or
access
to
new
command
called
all
365
and
I
can
start.
I
can
use
CLI
in
two
ways:
I.
B
Can
you
use
it
in
an
immersive
mode
like
this,
where
I
run
it
see
that
the
command
prompt
change
from
the
initial
one
that
I
had
in
the
OS
in
bash
to
all
three
six
five
prompt
right
and
in
here
I
have
directly
access
to
all
commands
in
CLI.
So
with
that
I
can
list
all
commands
for
shh-shh-shh-shh-shh,
PowerPoint
and
then
I
can
zoom
in
to
each
group.
Regulars
do
commence
that
CLI
offers
our
our
group.
B
So
this
after
you
in
installed
CLI.
The
next
step
that
you
have
to
do
is
you
have
to
to
connect
your
your-your-your
tenant
and
in
the
way
it
works
in
CLI?
Is
that
you
connect
first
ervice
so
like
sharepoint
or
as
your
a
ad
graph,
the
Microsoft
graph
or
any
other
services
supported
within
CLI
there
isn't,
for
that
is.
B
Is
that
from
Azure
ad
point
of
view,
there
are
separate
things
right,
so
you
cannot
connect
to
one
and
then
assume
that
you
already
have
access
to
another,
and
also
that
gives
you
the
ability
to
use
different
accounts
to
manipulate
different
things,
because
you
might
work
with
two
environments,
a
time
or
a
human.
You
want
to
have
one
account
to
access
something
and
then
use
an
our
account
to
access
your
size
or
files.
B
So
that
gives
you
that
ability
so
with
that,
let's
connect
to
SharePoint
using
the
L
365
SPO
connect
command,
and
we
follow
that
with
URL,
and
here
let's
enter
the
URL
of
our
tenant
admin
site.
So
with
that,
we
let
three
to
four
and
that's
the
tenant
that
I
use
every
day.
So
by
now
I
know
the
Europe
at
heart,
SharePoint
comm,
and
that
will
prompt
me
to
go
to
this
site
aka
ms
device
hugging
and
enter
this
code
in
CLI.
We
use,
what's
called
a
device
code
flow
because
we
are
in
command
line.
B
So
here
we
cannot
launch
a
browser
window
because
CLI
works
in
Linux
on
the
Mac
on
Windows.
It
will
also
work
in
docker
terminal
or
remote
shell
right,
so
there
is
no
way
for
us
to
rely
on
anything
related
to
you.
Why?
So
with
that,
we
use
this
flow,
meaning
we
go
to
this
URL.
We
open
that
in
browser,
and
you
can
open
that
on
your
phone.
B
We
pick
the
account
and
we
are
I
in
CLI,
retreat
a
few
additional
things,
and
now
we
are
done
and
with
that
we
get
the
access
to
basically
everything
that
sea-ice
reports
with
regards
to
working
with
your
tenant.
So,
for
example,
here
we
can
check
if
this
ideon
is
enabled
or
not,
and
we
do
that
using
the
oath,
365,
SPO,
CD
and
get
command
and
what
you
will
see.
It
is
either
true
or
false,
and
you
can
get
a
more
user-friendly
way
by
adding
the
eve
or
both
switch
all
right.
B
So,
first
of
all,
when
you
work
directly
in
CLI,
you
can
use
it
directly
here
by
adding
to
each
command
help,
and
that
gives
you
a
listing
of
all
available
options.
What
command
is
for
any
remarks,
if
any
examples,
and
all
that
and
exactly
the
same
info
is
also
available
on
our
website
that
we
have
with
all
the
docs.
So
in
here
you
would
go
to
aka.ms/offweb.
B
Brings
you
to
our
website
that
we
have
with
all
the
dogs
listing
all
commands
the
user
guides
and
all
that,
and
you
can
see
exactly
the
same
info
here
so
in
two
places
we
show
exactly
the
same
things.
So,
no
matter
if
you
are
on
the
web
or
in
command
line,
you
can
actually
see
the
same
info.
Additionally,
on
our
side,
we
give
you
you
a
walkthrough
through
how
you
install
you,
CLI
connect,
output
modes
and,
basically
everything
that
you
can
do
with
with
CLI.
A
B
A
Not
really
I
think
did
this
crate
walkthrough
on
the
on
the
basic
capabilities
and
and
from
a
user's
perspective.
This
is
relatively
simple.
The
only
thing,
but
you
might
actually
show
is
that
where
is
the
the
code
currently
located
and
where
people
can
go
and
ask
well
submit
issues
or
feedback
or
pull
request,
sure
sure.
B
So
here,
if
you
go
to
again
aka
dot,
MS
all
365
CLI
in
here,
you
have
the
link
to
github
repo
and
from
here
you
have
the
access
to
all
our
issues,
pull
requests.
We
managed
the
project
here
in
github,
so
you
will
see
all
discussions,
issues
how
we
go
back
and
forth
which
additional
things
we're
planning
to
do
and
for
which
we
could
use
some
help
which
ducks
we
want
to
add
and
for
which
we
also
need
help.
B
A
B
So
for
that
we
have
a
different
place
where
we
talk
about
things
and
you
can
access
that
from
our
page.
So
here's
a
link
together
and
with
this
link
you'll
add
that
page
and
here
you
can
see
all
the
books
that
we
have
about
different
things.
How
you
go
back
here
for
our
announcements
stats
every
month.
We
also
share
stats
about
how
many
people
you
see
like
what
do
they
use
and
everything
else
right.
A
A
Excellent,
thank
you
wild,
like
one
more
time
for
that
one.
So,
let's
recap
slightly
office365
still
a
cross-platform
comment
line
to
build
in
note
and
it's
not
a
replacement
for
PowerShell,
it's
an
additional
tool
and
an
option
for
you
to
take
advantage.
If
you're
interested
again,
it's
a
matter
of
a
preference
maybe
potentially
for
Windows
people,
at
least
in
the
past.
This
has
been
more
natural
to
use
PowerShell
if
you're
a
powerful
guy.
A
A
Please
go
to
the
issue
list
and
provide
us
contributions
and
feedback
around
the
key
top
location
will
have
all
of
the
links
to
the
github
available
in
the
video
notes,
and
also,
if
you
go
to
that
documentation
address,
you
can
find
the
key
table
location
from
the
local
documentation
as
well
anything
what
I'm
missing
love
it.
Yes,.