►
From YouTube: Getting started with Office 365 CLI
Description
In this video Velin Georgiev (Pramerica) is showing how get started on using Office 365 CLI to manage your Office 365 tenant or adjust settings in the SharePoint Online sites.
Presenter - Velin Georgiev (Pramerica) @VelinGeorgiev
See more details around the Office 365 CLI is available from https://pnp.github.io/office365-cli/
More details on the SharePoint developer community from http://aka.ms/sppnp.
A
Let's
have
a
look
at
the
office,
365
CLI
and
it's
a
command-line
interface
allows
office,
365,
tenant
administrators,
IT,
pros
or
DevOps
folks
to
manage
their
tenants
or
execute
automated
scripts,
and
it
can
run
on
any
platform,
no
matter
where,
whether
you
using
Mac,
OS
or
Windows,
or
whether
you
prefer
parish,
shell
or
bash,
the
CLI
just
runs
I,
will
follow
the
installation
guide
here
and
install
it
on
my
machine.
So
it's
a
prerequisite
know
what
the
GS
will
have
to
be
installed.
Note.
A
We
already
have
no
GS
installed
in
my
machine,
so
the
next
thing
to
do
is
I'll,
go
and
install
the
office.
365
CLI,
we're
running
NPM,
install
that's
in
stock
globally
and
that's
the
command
for
the
CLI.
So
after
I
find
that,
hopefully
that
will
be
installed
and
then
we
can
play
with
the
CLI
to
see
how
it
works.
Now
the
starting
point
is
to
type
all
365
and
I
will
enter
in
interactive
mode,
which
is
slightly
faster
mode
and
I'll
type.
A
Anything
here
to
see
what
is
next,
so
we
can
see
here
is
a
different
namespaces.
So
the
commands
related
to
Azure
ad
commands
related
to
your
management
for
managing
flows,
mainly
commands
related
to
the
graph
commands
related
to
upgrading
chirpin
framework
packages
and
many
commands
related
to
sharepoint
I'll,
just
quickly
type
SPO,
and
when
we
follow
that,
if
we
type
the
name
space,
we'll
get
a
huge
list
of
what
we
can
do
further
and
in
my
case
is
I'll,
try
to
get
details
through
a
web.
A
So
if
we
type
SPO
web
we'll
get
further
details,
what
we
can
do
with
the
web
and
as
you
can
see,
we
can
create
a
new
sign
if
we
say
espy
web
ad
or
get
details
about
the
side
if
we
say
espy
award
yet
and
the
holes
here.
Life
follows
the
same
pattern
of
site
and
then
you
have
ad
get
list
removed
set.
So
it's
very
easy
to
navigate
through
all
the
command,
because
mostly
they
follow
those
those
buttons
there.
But
I
need
further
information
about
the
SPO
web.
A
Yet
because
I
still
don't
know
how
to
use
it
and
I
can
type
help.
I
can
use
the
command
with
the
following
options
and
probably
I'll
have
to
specify
our
URL
and
down
below.
We
have
an
examples.
Probably
I
can
just
copy
paste
that
but
I
also
have
a
remarks
and
in
remarks.
It
said
make
sure
that
you're
logged
in
first
before
you
can
execute
that
command.
So,
let's
go
and
login
to
my
site,
SPO
login.
A
Provide
my
credentials
and
now
I
have
to
accept
the
app
permissions,
and
this
is
the
PMP
office.
365
management,
shell,
as
a
tenant
I
mean
I,
have
to
accept
that
your
own
application
can
be
specified
here.
It's
not
necessarily
needed
to
use
that
one,
but
for
now
I'll
use
that
one,
because
it's
way
easier
for
me
to
set
up-
and
we
thought
I
should
be
done
window
and
I'm
logged
in
now.
Let's
try
to
get
information
about
my
site
now,
SPO
what
you
get
what
URL
again,
there
is
the
site.
A
A
Usually
we
can
use
debug,
so
this
is
specific
option
that
if
I
run
it
with
with
that
command,
I'll
get
a
nice
log
with
everything
what
happened
on
the
network
and
we
can
see
that
it
executed
a
web
request.
It
did
something
to
get
access
token
before
that,
and
it
returns
some
some
additional
response
with
some
details
and
we
can
easily
debug
a
command
in
case.
It
shows
an
error
and
we
don't
know
what
is
happening.
Another
nice
feature
of
the
CLI
is
we
can
have
a
different
output.
A
A
Let's
try
to
change
the
title
of
the
web,
but
using
a
different
mode,
so
I'll
exit
from
the
interactive
mode
and
I
will
just
type
all
365,
SPO
web
said
I
hope
and,
as
you
can
see,
we
can
use
it
even
directly
from
the
command
line.
This
is
very
useful
when
we
have
to
build
scripts
in
bash
or
PowerShell.
A
A
To
be
based,
there,
you
go,
let's
have
a
look
if
something
has
changed:
fresh
timbi,
let's
see
how
this
can
be
used
in
an
automation
like
I,
have
Asia
DevOps
here
and
I
have
a
release
pipeline
and
my
release
pipeline
I
have
two
steps.
The
first
one
is
to
install
note
GS
and
second,
our
one
is
to
run
a
bus
crib,
and
here
is
my
script
and,
as
you
can
see,
it
will
run
office,
365
CLI
and,
let's
see
how
this
might
look
so
I
have
few
parameters
on
top
that
I'll
pass.
A
3
is
your
DevOps,
then
I'm
installing
the
CLI
on
that
release,
machine
and
a
release
agent
and
finally,
I
will
login
using
the
CLI
using
some
credentials
here
we
can
use
a
different
authentication
type
which
could
be
password
an
email
or
it
could
be
also
certificate
and,
finally,
I
will
add
up
to
an
app
catalog.
So
I'll
deploy
my
SharePoint
framework
solution,
a
package
to
an
app
catalog
and
then
I
will
deploy
it.