Intune | Microsoft Intune scripts
kandi X-RAY | Intune Summary
kandi X-RAY | Intune Summary
Microsoft Intune scripts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Intune
Intune Key Features
Intune Examples and Code Snippets
Community Discussions
Trending Discussions on Intune
QUESTION
I cannot parse and make a call using the current URL because when I use the $filter and $select query parameters it breaks the string, yet it works great in Postman and give me all the data I needed.
...ANSWER
Answered 2022-Mar-16 at 17:16The immediate solution to your problem is to simply escape the verbatim $
's with a backtick `
:
QUESTION
My company is doing Mobile Device Management with Microsoft Intune. We've successfully deployed an internal iOS app (using the Apple Developer Enterprise Program).
With Intunes' configuration settings we're trying to make each user's individual email available to the mobile app. https://docs.microsoft.com/en-us/mem/intune/apps/app-configuration-policies-use-ios
How do you normally access these types of settings in an app? I found this library but I'd need to eject from Expo which is not ideal for me: https://github.com/robinpowered/react-native-mdm
...ANSWER
Answered 2022-Feb-13 at 20:26As the MDM has native dependencies, You'll not be able to make it with Expo. Expo projects are written only in JavaScript and don't support packages that contain Objective-C or Java (Native code/dependencies).
Expo provides an advanced SDK called ExpoKit
for when you absolutely need to use custom native code. However, there are some cases where developers need native capabilities outside of what Expo offers directly. The most common situation is when a project requires a specific Native Module (like MDM) that is not supported by React Native Core
or the Expo SDK
. You'll have to detach the Expo project to create Xcode and Android Studio projects that contain ExpoKit. This step will generate android
and ios
project directories. Then you would add custom Objective-C or Java the same way as with any other Xcode or Android Studio project.
The Expo docs warn about some of the downsides of writing custom native code and discourage most of our developers from taking this route, as Expo's motive, almost everything you need to do is better accomplished in a cross-platform way with JS. Writing in JS enables you to best take advantage of code aster deployment and benefit from ongoing updates and support from Expo. You should only do this if you have a particular demand from native code which Expo won’t do a good job supporting, such as (for example) specialized CPU-intensive video processing that must happen locally on the device, Custom native libraries.
Here are only two options to support the MDM, either eject the project or create react-native-cli
project and migrate your project into newly created one.
QUESTION
I'm preparing laptops with Autopilot Intune Enrollment but we need to import hash in Endpoint automatically We got multiples command lines to enter in cmd, look like that
...ANSWER
Answered 2022-Feb-14 at 17:36After some further research, mixing both suggested solutions give me that :
QUESTION
I've written a script to check for the presence of a key in Win10 registry and write the key if it's not found.
The script does actually work, however InTune dashboard is reporting that it fails.
Would appreciate some insight/thoughts.
...ANSWER
Answered 2022-Jan-04 at 15:26You need to set your registry path using either the predefined HKLM:
drive
QUESTION
I have a react native application that runs on both IOS & Android devices. The organization has now mandated the integration of Intunes SDK into the application to apply Conditional Access & MAM policies. However the only integration available is a plugin which is 4 years old and the developer of the plugin has informed that he isn't maintaining it anymore.
https://github.com/msintuneappsdk/ms-intune-app-sdk-ios/issues/218
Is there a way to integrate Intune SDK into React Native application ?
-Rakesh
...ANSWER
Answered 2021-Dec-30 at 08:08if your app is for internal use. easy way to integrate Intune SDK is using wrapper tool, don't need any code change. There are tool for both Android and iOS here is link iOS. https://docs.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-ios
QUESTION
I want to install the module Sqlserver in several devices by using a script powershell in Intune. It didn't work in few devices because it asks to install the package-provider. So I tried to add this step in my script.
I create a function that looks if the package is already installed, if not it get it. It has to be forced and has not to request the user to confirm the installation. Here is my function :
...ANSWER
Answered 2021-Nov-18 at 20:11I would try the following. It seems to work for me
QUESTION
I am working on Xamarin.Android app that needs to download documents from SharePoint Online (SPO) in the background thread (using SPO REST API right now). Users should be using an app, while it is quietly retrieving documents from SPO. I have no experience working with Intune MDM or MSAL library for authentication. Android device is corporate-owned (COD) and enrolled in MS InTune. Is there a way to pick enrolled on-device user details and pass them with requests to SPO? Options that I am investigating are:
- Integrate InTune SDK into app
- Use MSAL library with the app registration in Azure portal for authentication
I am trying to avoid using WebView/browser for SSO if possible at all.
...ANSWER
Answered 2021-Nov-07 at 10:38It looks like there are no experts here in this field, so after a lot of research and trials I worked out the solution. InTune SDK integration is not required if an Android mobile device is enrolled through InTune MDM, because Microsoft Authentication Library (MSAL.NET) can use Intune Company Portal app (or Microsoft Authenticator) as a broker. Your Xamarn.Android app needs to be registered in Azure portal following these steps https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app and adopting steps in this https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-android-single-sign-on tutorial to Xamarin.Android makes authentication work. One point to note is that you need to specify and give admin consent for Graph and Sharepoint permissions to read User, Sites and Files.
QUESTION
I'm very new to PowerShell and I have a question in regards to Microsoft Intune and PowerShell.
I have this GetMPComputerStatus|select AMRunning
to check if Defender is "Normal" or "Passive", that's the only two outcomes.
How do I make an if or search statement so I can get all the devices which returns "Passive"?
...ANSWER
Answered 2021-Oct-19 at 13:48When you say "get all the devices which returns "Passive"", I assume you need to check different computers and filter out all that have their antimalware software not in "Normal" mode.
For that you can use the -CimSession
parameter that allows you to enter (an array) of computernames to test.
QUESTION
Development Information - Xamarin Forms Mobile application, utilizes MSAL library version 4.35.0 to authenticate against Azure AD and uses Brokered authentication flow utilizing the Microsoft Authenticator. This is coded in Visual Studio 2019 using C# and .Net 5.
Problem - Everything works in the Android emulator, but once deployed to an actual device, using Company Portal (Intune), the authentication piece fails with message:
Authentication Error [Android broker] The broker redirect URI is incorrect, it should be msauth://com.xxxxxx.xxxxxxx/xxxxxxxxxxxxxx Please visit https://aka.ms/Brokered-Authentication-for-Android for more details
I compared the redirect uri in the Azure portal to the one being displayed in the error message and they don't match, I don't know where it's getting this redirect uri value from?? Everything in the code base uses the callback uri specified in the Azure portal
I've worked through multiple MSDN documents, download example projects from GitHub, modified the Android Manifest file, etc. None of that seems to fix this issue. I am at my wits end with this. Here is an example of the Authentication code:
...ANSWER
Answered 2021-Oct-07 at 14:26The way Google has architected the mechanism through which one app can invoke another app mandates that the redirect URI has to include a signature of the application pkg.
The problem is that every Android SDK deployment has its own signature. So when you develop the app, you have one signature. When another developer tries to build and deploy, it's another signature. And when you create the official app that you submit, well there's another signature as well. They all use different Android SDKs.
SO you need to register 1 redirect URI for each app developer AND 1 redirect URI for the packaged bits.
You should expect that future versions of your application will have the same signature, so this process is done only once.
QUESTION
The audio, video conferencing devices, microhones headset and other devices which are used for microsoft team calls and conferences, where are thisdata is stored?
How can I request a list for this devices overall users or for a special user. Is an intune -license needed for that or are there other ways to request this information e.g. with a graph api call?
Updated 04.10.2021: I know it is possible to get call records after end calls and from this i get the device informations. That is not my question. I would know if there is a possibility to request the devivices a user has connected in the past.
So is there a way to get the infos of connected audio, video devices independend from a ended call. Because i have no available intune license , i don't know if intune only manage client devices or other devices like audio and video devices too. so that was the reason I mention intune.
But my question is: Is there a way with graph api or different api to get the connected or registered audio video devices on azure for a user identified with UPN (not locally with running command line tools for requesting audio video devices from the locally device manager).
...ANSWER
Answered 2021-Oct-06 at 13:47For more visibility, I am adding my answer from comments section:
As per my knowledge, we do not have such API available to get the list of devices, using which user has connected in the past.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Intune
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page