shell-intune-samples | Sample shell scripts for Intune admins | Script Programming library

 by   microsoft Shell Version: Current License: MIT

kandi X-RAY | shell-intune-samples Summary

kandi X-RAY | shell-intune-samples Summary

shell-intune-samples is a Shell library typically used in Programming Style, Script Programming applications. shell-intune-samples has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Sample shell scripts for Intune admins.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              shell-intune-samples has a medium active ecosystem.
              It has 357 star(s) with 162 fork(s). There are 3270 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 11 open issues and 38 have been closed. On average issues are closed in 30 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of shell-intune-samples is current.

            kandi-Quality Quality

              shell-intune-samples has no bugs reported.

            kandi-Security Security

              shell-intune-samples has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              shell-intune-samples is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              shell-intune-samples releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shell-intune-samples
            Get all kandi verified functions for this library.

            shell-intune-samples Key Features

            No Key Features are available at this moment for shell-intune-samples.

            shell-intune-samples Examples and Code Snippets

            No Code Snippets are available at this moment for shell-intune-samples.

            Community Discussions

            QUESTION

            Can't deploy an app to Intune store via graph API - DeviceManagementApps.ReadWrite.All is an invalid scope?
            Asked 2018-Jul-25 at 20:17

            We want to enable uploading apps to the Intune store via an API. I saw this example on GitHub, and want to do something similar in JS, so I've tried using the same REST calls. The problem is, I can't seem to make the https://graph.microsoft.com/beta/deviceAppManagement/mobileApps request properly - I always get 401. When making the same request via the Graph API Explorer it works fine.

            I tried fixing my permissions, and I'm kinda stuck getting the correct token. I did the following steps with an admin account, on both the "common" and our own tennant:

            1. Called the admin consent - https://login.microsoftonline.com/nativeflow.onmicrosoft.com/adminconsent?client_id=&redirect_uri=

            2. Got authorization from the user - https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=&response_type=code&redirect_uri=&response_mode=query&scope=DeviceManagementApps.ReadWrite.All

            3. POST request to get the actual token - https://login.microsoftonline.com/nativeflow.onmicrosoft.com/oauth2/v2.0/token

              with the following body:

              ...

            ANSWER

            Answered 2018-Jul-25 at 20:17

            You have a couple issues going on:

            1. You're using the Authorization Code Grant workflow but requesting Client Credentials.

            2. The scope Device.ReadWrite.All is an application scope, it is only applicable to Client Credentials. It isn't a valid Delegated scope so it will return an error when you attempt to authenticate a user (aka delegate) using Device.ReadWrite.All.

            3. Your body is using key:value but it should be using standard form encoding (key=value).

            To get this working, you need to request a token without a user. This is done by skipping your 2nd step and moving directly to retrieving a token (body line-breaks are only for readability):

            Source https://stackoverflow.com/questions/51517406

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install shell-intune-samples

            You can download it from GitHub.

            Support

            This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/microsoft/shell-intune-samples.git

          • CLI

            gh repo clone microsoft/shell-intune-samples

          • sshUrl

            git@github.com:microsoft/shell-intune-samples.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Script Programming Libraries

            Try Top Libraries by microsoft

            vscode

            by microsoftTypeScript

            PowerToys

            by microsoftC#

            TypeScript

            by microsoftTypeScript

            terminal

            by microsoftC++

            Web-Dev-For-Beginners

            by microsoftJavaScript