intune

Execute PS from bat for Intune Win32

痴心易碎 提交于 2021-02-08 09:36:12
问题 I am so confused and actually also not so familiar with PS and bat after my troubles with them. I want to set the Lockscreen in Windows 10 with Intune through an IntuneWin file (WIN32 application). I have a folder with the image, which I want to set, a copy.bat which should copy the image in the directory and also execute the PS file for setting the login image and a del.bat for deleting the image. copy.bat md %AllUsersProfile%\sz copy /Y Wallpaper.jpg %AllUsersProfile%\sz powershell

How to use Microsoft Graph API with Certificates (INTUNE)

大城市里の小女人 提交于 2021-02-08 06:33:51
问题 C# code to access MS GRAPH API (IN THIS CASE INTUNE) and use certificates for authentication. This is based on article to be found here: https://laurakokkarinen.com/authenticating-to-office-365-apis-with-a-certificate-step-by-step/comment-page-2/#comment-697 The first is a powershell script to generate certificate. Then there is a logger interface and configurator to read from JSON file. Thereupon there is a READER using asynchronous calls to authenticate with API and get in return a token. #

commitFileFailed during mobileAppContentFile Commit

南楼画角 提交于 2020-01-23 03:51:05
问题 I'm working on a JS script (ru that will upload an app to intune. When I try to commit an app content file to intune I always receive commitFileFailed, and I don't see any reason for that. Is there any way to figure out why it fails? I think it may be because of the encryption, but I'm not really sure. This is how I encrypted it: const key = Crypto.randomBytes(32); const hmacKey = Crypto.randomBytes(32); const iv = Crypto.randomBytes(16); const cipher = Crypto.createCipheriv('aes256', key, iv

How to access UWP application settings set by MDM?

可紊 提交于 2020-01-04 06:14:14
问题 I am using EnterpriseModernAppManagement CSP to install and set settings for some UWP app as defined here: https://msdn.microsoft.com/en-us/library/windows/hardware/dn904956(v=vs.85).aspx .../PackageFamilyName/AppSettingPolicy/SettingValue (only for ./User/Vendor/MSFT) Added in Windows 10, version 1511. The SettingValue and data represent a key value pair to be configured for the app. UWP app installs correctly and settings setup (via AppSettingPolicy) execute successfully. But how do I now

How to access UWP application settings set by MDM?

徘徊边缘 提交于 2020-01-04 06:11:24
问题 I am using EnterpriseModernAppManagement CSP to install and set settings for some UWP app as defined here: https://msdn.microsoft.com/en-us/library/windows/hardware/dn904956(v=vs.85).aspx .../PackageFamilyName/AppSettingPolicy/SettingValue (only for ./User/Vendor/MSFT) Added in Windows 10, version 1511. The SettingValue and data represent a key value pair to be configured for the app. UWP app installs correctly and settings setup (via AppSettingPolicy) execute successfully. But how do I now

Unable to access users device in Microsoft Intune using Microsoft Graph API

此生再无相见时 提交于 2019-12-13 08:36:32
问题 I am trying to access managed devices for a particular user. I have written a code which uses web app to get the authentication code.I am able to see all the users as well as a particular user. But when I try to access the managed devices for user I get 401 unauthorized error. I have checked all the permissions are granted to web app created in azure portal for Microsoft Graph. Here is my code:- try { String access_token = getAccessToken(); String url_str = "https://graph.microsoft.com/v1.0

400 Bad request when creating app in Intune using microsoft graph api

限于喜欢 提交于 2019-12-12 04:31:35
问题 Im trying to create an app in Intune using the MS Graph. When post to the following endpoint and using the json body below I get a 400 bad request response https://graph.microsoft.com/beta/deviceAppManagement/mobileApps Is the json body wrong? The formatting is correct and all the fields seem to be there { "id": "553834731", "bundleId": "com.midasplayer.apps.candycrushsaga", "notes": "We hope you’re having fun playing Candy Crush Saga! We update the game every week so don\u0027t forget to

read Microsoft Intune app configuration properties from cordova

人走茶凉 提交于 2019-12-11 17:54:44
问题 app configuration properties can be deployed to an iOS app with the Microsoft Intune app configuration policies. These properties are configured in plist format and deployed like explained in the docs https://github.com/MicrosoftDocs/IntuneDocs/blob/master/intune/app-configuration-policies-use-ios.md it seems like this properties can be read by the Intune iOS SDK as "MDM app config" like explained here: https://docs.microsoft.com/en-us/intune/app-sdk-ios#enable-targeted-configuration-appmam