Coder Social home page Coder Social logo

peoplehr-holiday-office365-sync's Introduction

PeopleHR-Holiday-Office365-Sync

Automate Calendar events for PeopleHR Holidays

Install https://www.microsoft.com/en-us/download/details.aspx?id=35371 on the server that will be running script. This is required to Access EWS

Input your password and username into the main script

The Make-Owner script can be adapted, it is capable of storing admin credentials but could be run manually. We dont recommend storing admin credentials for O365 in plain text on the script.

Run PeopleHRSync-MakeOwner.PS1 , This loops through all your mailboxes and ensures your PeopleHR mailbox is able to add calandar events.

this will give your dedicated service account Ownership over all mailboxes so it can add and delete appointments

this should be run manually everytime you have a new starter. It can however be coded to run automaticly but may be a little overkill thus not included in the main script.

now run PeopleHRSyncEWS.PS1

it should..

  1. use peopleHR API to find all employees
  2. find all their holidays
  3. Removes some legacy entries from an older script i wrote, this can be removed for most people
  4. adds the holiday to their calender, their managers calender and any additional accounts specified at the top
  5. using an array of holidays for that employee. remove any holidays that are now no longer on PeopleHR
  6. Save everything to a log file.

peoplehr-holiday-office365-sync's People

Contributors

landscapeinstitute-bot avatar

Stargazers

Rihards Mantejs avatar  avatar Charles Holtzkampf avatar

Watchers

James Cloos avatar Francesco D'Amore avatar

peoplehr-holiday-office365-sync's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.