Skip to content

update m365 status condition check. Closes #298#301

Merged
pkbullock merged 2 commits intopnp:mainfrom
Jwaegebaert:m365StatusFix
Jun 27, 2022
Merged

update m365 status condition check. Closes #298#301
pkbullock merged 2 commits intopnp:mainfrom
Jwaegebaert:m365StatusFix

Conversation

@Jwaegebaert
Copy link
Copy Markdown
Contributor

Closes #298

Here I updated the commonly used 'm365 status' condition check from

$m365Status -eq "Logged Out"

to the following

$m365Status -match "Logged Out"

@pkbullock, should I also update the updateDateTime variables within the sample.json files?

@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Jun 9, 2022

once again thanks @Jwaegebaert for fixing this 👍👍👍

@pkbullock
Copy link
Copy Markdown
Member

Ill keep the PR on the queue as its a bigger one, but I'd like to add your recognition so I will add the metadata :-)

@pkbullock pkbullock self-assigned this Jun 13, 2022
@pkbullock
Copy link
Copy Markdown
Member

Ive been going through al the changes, if its ok, not going to update the metadata with the credit, it may distort the samples authors, instead, ill credit via a different method. Its a great change and sorry it took so long to review.

@pkbullock pkbullock merged commit dbc4d45 into pnp:main Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] CLI M365 samples - m365 status invalid condition check

3 participants