GithubHelp home page GithubHelp logo

intune's Introduction

MIcrosoft Intune - Testing your configuration

Intune

PreRequisite Software

  • Current stable release of Pester
  • AzureAD Powershell module
  • Access to Internet to access the Microsoft Graph API

Tests

Office 365 Tests

This tests that Modern Authentication is Enabled

  • has Modern Authentication is Enabled
Invoke-Pester .\Intune.tests.ps1 -tag O365

Mobile Device Management Tests

This tests the Mobile Device Management Settings and Policy

  • has the Mobile device management authority set to Intune (Set in Script - Change as required)
  • Enrollment restrictions - Device Type Restrictions (Set in Script - Change as required)
    • has Android platform Enrollment: 'Allowed'
    • has Android platform Enrollment: osMinimumVersion= '5.1'
    • has Android 'Personally Owned Devices' Enrollment: 'Blocked'
    • has iOS platform Enrollment: 'Blocked'
    • has macOS platform Enrollment: 'Blocked'
    • has Windows (8.1+) platform Enrollment: 'Blocked'
    • has Windows Mobile platform Enrollment: 'Blocked'
  • Enrollment restrictions - Device Limit Restrictions (Set in Script - Change as required)
    • has maximum number of devices a user can enroll set as 1
    • has at least one 'Term and Condition' set (Optional)
    • Intune Mobile Device Managment Policy Checks (Referenced from MDM_Policy.json - Add Remove as necessary)
      • Android Device Restrictions checks
        • Minimum password length' is correct
        • Password requirement' is set correctly
        • 'Number of sign-in failures before wiping device' is set correctly
Invoke-Pester .\Intune.tests.ps1 -tag MDM

License Tests

This tests the correct license type and count have been assigned to the tenant (Set in Script - Change as required)

  • contains the correct skuPartNumber
  • contains the correct skuPartNumber
  • has the correct licence type assigned
  • has capabilityStatus set to ENABLED
  • has the correct amount of licences assigned
Invoke-Pester .\Intune.tests.ps1 -tag License

Intune Application Protection Policy Checks

This tests the various policy settings have been set correctly.

  • iOS Application Protection Policy checks (Referenced from MAM_Policy.json - Add Remove as necessary)

    • contains at least 1 iOS Managed AppProtection policy
    • Prevent iTunes and iCloud backups
    • Allow app to transfer data to other apps
    • Allow app to receive data from other apps
    • Prevent 'Save As'
    • Select which storage service corporate data can be saved to
    • Restrict cut, copy, and paste with other app
    • Restrict web content to display in the Managed Browser
    • Encrypt app data
    • Disable contacts sync
    • Disable printing
    • Require PIN for access
    • Allow simple PIN
    • PIN length
    • Allow fingerprint instead of PIN
    • Disable app PIN when device PIN is managed
    • Require corporate credentials for access
    • Recheck the access interval requirements after (minutes)
    • Offline interval before app data is wiped (days)
    • Require minimum iOS operating system
    • Targeted Security Group count
  • Android Application Protection Policy checks (Referenced from MAM_Policy.json - Add Remove as necessary)

    • contains at least 1 iOS Managed AppProtection policy
    • Prevent Android backups
    • Allow app to transfer data to other apps
    • Allow app to receive data from other apps
    • Prevent 'Save As'
    • Select which storage service corporate data can be saved to
    • Restrict cut, copy, and paste with other app
    • Restrict web content to display in the Managed Browser
    • Encrypt app data
    • Disable contacts sync
    • Disable printing
    • Require PIN for access
    • Allow simple PIN
    • PIN length
    • Allow fingerprint instead of PIN
    • Disable app PIN when device PIN is managed
    • Require corporate credentials for access
    • Recheck the access interval requirements after (minutes)
    • Offline interval before app data is wiped (days)
    • Require minimum iOS operating system
    • Targeted Security Group count
Invoke-Pester .\Intune.tests.ps1 -tag Policy

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.