Jump to content

Powershell scripts Office 365 asks for auth adter 24 houts


Recommended Posts

Posted

background:

 

We send many office 365 emails, so we made a script to show us how many emails are being sent for a few mailboxes,

 

All works great apart from have to restart the script every 24 hours as it asks for Offfice 365 credentials,

 

any idea how to fix it so that it doesnt ask for the password every 24 hours?

 

 

too big to quote so attached.

EmailCheckerV6.ps1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...