yashsingh1/xdaforums huggingface dataset:
[Magisk] Dreamer(3MF):
Check This Post https://xdaforums.com/apps/magisk/module-microsoft-intune-company-portal-t3780451/post76295000.
[Magisk] Dreamer(3MF):
Suggestions

- Uninstall Any Other Rooting Tool Completely Such As SuperSu & Lineage-AddOnSU Which Is Used With Magisk

- Try DeviceSpoofingTool4Magisk From This Thread https://xdaforums.com/apps/magisk/qa-want-to-install-modules-magisk-v13-3-t3800435

- Try SELinuxModeInverter4Magisk From This Thread https://xdaforums.com/apps/magisk/selinux-mode-inverter-t3775271

- Try To Install The Latest Version Of Magisk (Stable/Beta) Or One Of The Modified Magisk Versions From This Link https://androidfilehost.com/?w=files&flid=274603

- Do A Clean Flash For The Same Used Rom Or Change The Rom Or Change The Kernel

For Any Issue, Send The Issue Along With The Following

- Enable WiFi --> Send The Screenshot Of PlayStore Device Certification Status (Google PlayStore --> Settings --> Device Certification)

- Install RootBeer Sample From PlayStore --> Send Its Screenshots

Before Adding This App To Magisk Hide

&

After Adding This App To Magisk Hide

- Magisk Manager --> Tap To Start SafetyNet Check --> Send Its Screenshot

- Install SafetyNet Helper Sample From PlayStore & Send Its Screenshot

- Magisk Manager --> Modules --> Send Its Screenshots

- Magisk Manager --> SuperUser --> Send Its Screenshots

- From Settings --> About Phone --> SELinux Status --> Send Its Screenshot

- Complete Info About The Device, The Used Rom & The Used Kernel

- Send Full Logcat (Download Logcat Extreme From PlayStore) & Magisk Log (Magisk Manager --> Log --> Magisk & SuperUser)

- Install Terminal Emulator From PlayStore --> Open It --> Write

su

--> Click On Enter --> Write

which busybox

--> Click On Enter --> Send Its Screenshot

- Use Terminal Emulator From PlayStore --> Open It --> Write

su

--> Click On Enter --> Write

magiskhide --ls

--> Click On Enter --> Send Its Screenshot

- Use Terminal Emulator From PlayStore --> Open It --> Write

su

--> Click On Enter --> Write

which su

--> Click On Enter --> Send Its Screenshot

- Use Terminal Emulator From PlayStore --> Open It --> Write

su

--> Click On Enter --> Write

getenforce

--> Click On Enter --> Send Its Screenshot

- Use Terminal Emulator From PlayStore --> Open It --> Write

su

--> Click On Enter --> Write

sestatus

--> Click On Enter --> Send Its Screenshot
[Magisk] AryaHarish:
Dreamer bro, you are a GOD to me. Damn, it really worked. OMG. I am banging my head since ages to get rid of this outlook issue and Dreamer you made my dream come true. Thanks a ton.
[Magisk] smith8ca:
I've had the same issue since updating to Magisk 19 ...

Seems like every 5 minutes or so, Magisk Hide reinitializes (or so it seems from the Magisk log). When this happens, some apps that are added to the Hide list get closed. For me, Outlook and Gmail are the most notable.
[Magisk] bsg411:
I'm getting the Outlook app crashing as well like every couple minutes using magisk 18.1 and the intune hide module. . It makes it basically unusable..... is there any solution to this?

I wonder if using an older version of Outlook app will have any effect?

P. S. It also frustrates me that it saves a draft of any email I am writing but the message body is always empty!!!
[Magisk] Mont:
Yea i have send multiple blank messages to my workmates empty, it's annoying.
[Magisk] bsg411:
On a positive note.... I never uninstalled the mail app I used to use for work before intune went live (nine email} and suddenly today I started getting push email again from it.... Maybe it's a glitch. I'll know for sure tomorrow.
[Magisk] amplatfus:
+1, Same here. I tried by search in this thread, but without success. Could you please help?

Thank you!
[Magisk] amplatfus:
Thanks. Please Compact List is the the place from EdXposed Manger where apps can be blacklisted?

In your case is still working?

Many thanks!
[Magisk] IlyaKol:
Any update on the crashing? About to upgrade to the June OTA w/ Magisk 19.2 and Elemental 2.17 on my Pixel 2 XL.
[Magisk] Beakhole:
Ever since I upgraded to Magisk 19.0, I haven't had Company Portal, Outlook, or any other apps I have in Magisk Hide detect root or even crash on me.

I'm on P2XL, Magisk 19.3, April release of Bootleggers ROM on Pie that comes with Cesium Kernel. And I haven't even used the Intune Hider module since I upgraded to this rom back in April.
[Magisk] ttppz:
+1 again .I only found MultiFunctions4Magisk. NOT Intune Hider.
[Magisk] vigos:
I uploaded the version I have on my phone for magisk 17. I did a rollback from 18 when root was being detected, andI'm using it still until I see that it's finally stable: https://www.mediafire.com/file/8vehog838qun0ak/IntuneHider4Magisk-v0.1.3.2A(v17000)(3MF).zip

File: /IntuneHider4Magisk-v0.1.3.2A(v17000)(3MF).zip

MD5: 31:f8:ed:0d:f2:a4:b9:4c:e5:f5:b8:ec:2a:4f:57:3a

SHA1: 15:72:cf:b2:62:0d:2c:0d:dd:0c:29:b7:44:cb:af:d3:cf:b5:5b:08

SHA256: 70:12:10:a4:20:eb:87:7b:9b:63:1c:3d:b0:b2:8d:64:b4:e1:b5:f7:ea:06:64:b1:20:13:86:00:83:02:d1:b3

OP I hope it's OK with you, I can remove it if it's a problem.
[Magisk] shivy25:
Can anyone please guide me how to use this module?
[Magisk] Mont:
Yes, check the first page of this thread.
[Magisk] robinmalmberg:
Thanks a lot for this module and the update.
[Magisk] tiga05:
Did I get this right? [MENTION=9018566]Dreamer(3MF)[/MENTION]

You basically wrote a script which makes sure( in connection with the MultiFunctions4Magisk script) that everything is hidden correctly and there are no disturbing files left? And nothing more? So in theory I could do this manually by myself?

EDIT: And another question to all members: I dont know if this is a bug of Intune or if its already blocking me. I can't get any further than the "half way there screen". The Badge-App is not launching. From what i read here, the blocking message because of root must be at some other point, right?
[Magisk] cuongnguyenadt:
Hi Dreamer [MENTION=9018566]Dreamer(3MF)[/MENTION]

I have spent a lot of time for this module (over 1 week) but still unable to make it works. I will much appreciated if you can figure out why intune app still detecting my phone is rooted. I followed all steps in this thread. Could you please have a look on the screenshots and logs attached?

More information:

Note 4 N910L latest Stock rom

Magisk 19.3

Stock kernel

SE Status: Enforcing

If you need any further information please let me know.

Thank you
[Magisk] Dreamer(3MF):
According To The Sent Screenshots,

Intune App Detected Your Phone Is Using A Custom Rom

.

Maybe The Issue Can Be Resolved Using Another Rom

.
[Magisk] Souravskrba:
Seniors Need your help please

I am also not able to open my office outlook or skype. I am a novice so if a step my step instructions is given it would be helpful for people like me to learn

PHONE: Moto G 5s S

BOOTLOADER: OEM Unlocked

RECOVERY: twrpsandersr20

More details about my phone ->

[IMG="My Phones details"]https://photos.app.goo.gl/b2sTUXFn87VoMSXC7[/IMG]
[Magisk] casouzaj:
Does your phone pass both Safetynet tests?
[Magisk] Souravskrba:
Help !!!!!

hello Brother,

To answer your question, yes I followed the steps and was successful to load my company email but now I am in a trouble, I wiped out the mobile os and now not able to boot it. Please, can you share any iso which will not tamper my imei no. :crying::crying::crying::crying:
[Magisk] Souravskrba:
hello Brother,

To answer your question, yes I followed the steps and was successful to load my company email but now I am in a trouble, I wiped out the mobile os and now not able to boot it. Please, can you share any iso which will not tamper my imei no.

https://photos.app.goo.gl/b2sTUXFn87VoMSXC7

Please please help me out
[Magisk] Dreamer(3MF):
Check This Link https://xdaforums.com/moto-g5s-plus (XDA Forum For Moto G5S Plus).
[Magisk] hsg120:
THANK YOU

I am so grateful for this module!!! I was so worried that I'd have to revert my phone back to stock, but this worked perfectly.

THANK YOU!!!!!! :good:
[Magisk] Codename_Falcon:
I am receiving the exact same error. Did you ever get this resolved?
[Magisk] mGforCe:
Just to share, for Xiaomi Redmi Note 7 Pro (code name violet) Intune is working with Magisk by default. No edit to use any further module - just use MagiskHide and select CompanyPortal
[Magisk] B01070:
Dreamer, can I install this module on my Nubia Red Magic 3s running on Magisk 20.2.*..? If yes, which one to use.. Please advise..

Aru
[Magisk] broomer68:
No problems for me _not_ using this setup.

On my OnePlus 7T, android 10.0.6, magisk 20.1, Intune and Outlook is correctly working. (despite stringent company rules)

Steps taken:

-root device

-Hide magisk manager

-Install Intune and outlook. (do not run)

-check (mark...) intune and outlook in the manager's hide list.

(if previously installed: wipe data+cache from intune and outlook)

Setup intune

Setup outlook

Verstuurd vanaf mijn HD1903 met Tapatalk
[Magisk] robert1968:
MIUI Second Space - Outlook, Teams quarded by Company Portal

Thanks to you Broomer86 for the above post. It helps me to figure out how to do the same on Second Space.

Hi,

How to use Second Space - Outlook, Teams quarded by Company Portal (Intune) on a Magisk rooted device.

No need to use Intune hider module, despite strong company rules.

I have Mi 9T Pro with MIUI 11 EU Stable v04, Android 10.

MIUI modified the Android multi users function and it is called "Second Space" - this is a separate space for work or for an another user.

I used this separated space for work related applications like Outlook, Teams.

(+mandatory applications: Authenticator, Company Portal (Intune) )

Prerequisites:

- MIUI with encrypted Phone.

- Magisk hide -Magisk manager -Magisk main menu Settings -Magisk manager hide. not the Magisk Hide from Magisk main menu!

Setup:

-Add Second space in settings. (Settings-Special features)

-switch to second space

-Install Teams, Outlook, Authenticator, Company Portal(Intune) from Play but don't start them.

-add above four application to "both space" in Settings-Special features-Second space-Move Data- App settings

-switch back to first space

-add the above four apps to Magisk Hide list from Magisk main menu.

-switch to second space

-Login to Outlook and Teams. They will require login credentials and force the setup of Authenticator and Company Portal (your company's Polices force them.)

(Probably screen lock -PIN- needed for second space.)

Robert.

don't forget to feed thanks meter :)
[Magisk] nimdy:
Can this module or any other Magisk module make InTune Company Portal believe the phone has a lower version of Android? I've upgraded to Android 10 but my company dictates that Android 9 or lower should be used, so I can't enroll the phone :(
[Magisk] shashanksinghal:
I think you can edit build.prop to specify whatever version you want
[Magisk] Nick GS01:
Even I did the same, but now facing problem

---------- Post added at 05:59 PM ---------- Previous post was at 05:56 PM ----------
[Magisk] nri_tech1183:
Is this even working anymore?

The steps are confusing.

Do we need to install all stuff from here?https://xdaforums.com/apps/magisk/module-social-media-cache-advanced-t3799155
[Magisk] Dreamer(3MF):
Check this post https://xdaforums.com/apps/magisk/module-microsoft-intune-company-portal-t3780451/post80981237.
[Magisk] mpasanthosh:
Hi ,

Thanks for your help, I am trying to configure the same, but i cannot find the dreamermods folder.

/data/DreamerMods/

The /data/ the DreamerMods folder is not available, i am using Redmi Note 7 with Magisk hidden.

Please help.
[Magisk] ktdilsiz:
can't find data/DreamerMods folder

Also can't find data/DreamerMods folder. Would appreciate some help. I've also tried Magisk Hide Props but haven't been successful.
[Magisk] Foorack:
[MENTION=8110197]ktdilsiz[/MENTION] [MENTION=3008528]mpasanthosh[/MENTION] I just tried and got it working. Even though the /data/... folder strucutre doens't exist, just create it with "mkdir -p" (-p will create sub folders. After that I had to completely disable the work profile, fully uninstall the app, install but do not open, clear it's storage, add to Magisk Hide, open app and register profile. This time around it should not detect that the device is rooted. Good luck.
[Magisk] c19932:
My company requires me to set a long pass code as well as disabling USB debugging. Are there any modules that can bypass those? Thanks!
[Magisk] DroidBot:
MAGISK 20.4 - Error : Not a Magisk Module

Does this module works with magisk v20.4, because when I downloaded zip, and flashed via magisk, it's giving me error : Not a magisk module.

If I am doing wrong, please guide me with steps, help will be appreciated. Thanks
[Magisk] tiga05:
[MENTION=5210208]DroidBot[/MENTION]

Is there any reason why you want to install this?

First time I also played around with this. But yeah.... The instructions are very complicated...

But then I just tried it without. I just hide all google play services + the Microsoft Intune/corporate portal app.

Also renaming of magisk is enabled.

And it works and works works....

I have a oneplus 3t with android 10 (havoc OS) and magisk 20.4.

Edit: I don't know if it is relevant: I always enable magisk hide before the very first launch of the app. Just to be safe. For example you got a lot of problems to enable hiding for the google pay app if you are not doing it it before the first lainch, because it "remembers" the rooting status also if you reinstall the app.
[Magisk] dmbardal:
Trying to get this to work, but its really hard to read when the instructions have capitalized letters for every word.

I've seriously been trying for an hour now.

I appreciate the guide, but geez.
[Magisk] panpan1:
Hi All,

I also get the "custom OS error" (while I have a stock rom) and apparently there were no feedback to explain how to solve it

Did somebody found the solution, I try to make it work for more than 1 week and become crazy

Thanks in advance
[Magisk] }{Alienz}{:
Works on latest Magisk 20.4 on my OnePlus 7 Pro (Android 10). No need for special packages or crazy setup. Use the integrated Magisk hide feature.

Steps taken

-root device

-Hide magisk manager

-Install Intune and outlook. (do not run)

- Open Magisk and find the Magisk hide app list. Checkmark intune (it's called Company Portal) and Outlook. Make sure to CHECKMARK every part of the app...there's multiple parts when you click the app name in the list.

(if previously installed: wipe data+cache from intune and outlook)

Setup intune

Setup outlook
[Magisk] jesterpaul:
I wish this still worked for me, but it does not.

I have a Sammy Galaxy S20 Ultra 5G user. Run stock firmware but I have unlocked the bootloader so the knox fuse has been tripped.

I have magisk canary installed. I hide magisk manager and use magisk hide on numerous apps including Intune Company Portal, and it used to work with basic attestation with your method.

My device started failing safety net when Google updated it to using hardware attestation (as is inevitable).

I have installed magic props config magisk module and run the force basic attestation props command, and with this my device passes safety net again.

I am successfully running several apps that would not work on rooted devices with this set of workarounds.

ThreeNow (New Zealand TV app)

Ramco Unify

Microsoft Authenticator

McDonald's app

However I cannot fool Intune Company Portal, meaning I can't use any apps that allow me to connect to my work Office 365 accounts and services, such as Outlook for my work email, Skype for Business, Microsoft Teams and others.

Has anyone found a way to cloak root for Intune Company Portal with Google having updated to hardware attestation?
[Magisk] johnnyjoejoejr:
I tried for weeks to get this to work without success, until I reached out to my workplace IT team. I had them re-enter my IMEI number for both sim card slots, and it finally worked!
[Magisk] amplatfus:
Hi,

Pleae, you have the setup with Work Profile?

Thank you!
[Magisk] ForForkSake:
I dont even hide magisk manager... Ever

Happily used for months now. It relies heavily on safetynet passing so thats the where most peoples issue probably lay.

The evox rom i am using has always passed safetynet - i did try a different kernel which caused safetynet to fail and the device became non compliant... Back to stock kernel from rom.... Passsed safetynet device compliant again.
[Magisk] logitek1994:
Wooowww thank you so much!!! I can't pass the root check when login to microsoft teams, and when i do wipe data + cache (bcs it has previously installed) it works!!!! I never thought that delete all data + cache is so much powerful than uninstall + reinstall. Thank you so much maannnn?????

Update: well, not for long. Just 5 minutes later and the error is showing up again
[Magisk] SolarPlexus:
could it be, that intune is hidden in a specific way in the Apps list of Magisk manager? I could not find it under every possible name I checked (Intune, Unternemen, Company, Microsoft)... Unfortunatly it looks like the Root check was improved, because yesterday it still works, but today Outlook is no longer syncing...
[Magisk] [deXter]:
[MENTION=2769928]}{Alienz}{[/MENTION]'s solution still works for me. I switched to a new ROM yesterday (clean install) and was having issues setting up Teams and Outlook (Company Portal was detecting root) until I came across this thread and followed }{Alienz}{'s solution. Took a couple of tries but what got it working in the end was to ensure I force-closed ALL Microsoft apps (Company Portal, Authenticator, Teams, Outlook, Skype for Business, OneDrive) and then cleared ALL their respective Storage+Caches. Then I set up Authenticator again, didn't touch Company Portal, then set up Teams, Outlook etc and it's been working fine. Device has been running for almost a full work day now without any issues.

I'm on Android 11 (PiXeN-OS) patched to November 2020, on a OnePlus 6. I'm using Magisk 21.1 (MagiskHide enabled + Magisk package renamed) and I don't have any other modules MagiskHidePropsConfig/Riru/Xposed etc installed, for now anyway.

I'll monitor and update this post if the situation changes.

If any of you have issues, can you please mention your:

- Device make/model/variant

- Android OS version, Security Patch Level and ROM (if using a custom ROM)

- Magisk version

- Any other mods/root apps installed (Riru/Xposed etc)
[Magisk] ShivamOnline:
Can you please update, if it is still working or not.

If Yes, please mention all the steps followed or Quote the Post where you followed it from.

I had to remove Magisk to get these apps working again.

Tried all the mentioned tricks.

Thanks
[Magisk] casouzaj:
I run the stable Magisk v.20.4 with the most recent Manager (obviously renamed/hidden) in my Sony Z5 Compact phone, loaded with Lineage OS 17.1. I use the MHPC module in order to pass CTS profile tests. By ticking all the boxes for the Company Portal app (the same for all related work apps) in Magisk hide tab, it works.
[Magisk] c19932:
Magisk hide works perfectly for me as well, no need for any additional modules. I do wish there was a module that could bypass lockscreen requirement by company portal though. A module that disabled company portal's admin privilege could achieve that too.
[Magisk] awdrifter:
This seems to have done the trick. I ripped the older version of Intune and Teams from my previous phone, updated Magisk to the latest Beta (I was using Canary), then just checked all the toggles as shown on the screenshots. It seems to have worked for me.
[Magisk] hondoslack:
So, very important to install Company Portal and DO NOT OPEN. Clear data/cache, then open Magisk, and after ensuring it is hidden/renamed, find Company Portal in the hidden apps page, and hide all. I made the mistake of trying to find Company Portal in Magisk AFTER opening it. It does some trickery to hide itself from Magisk at that point, then its too late! I'm sure this is mentioned somewhere here in this thread, but doesn't hurt to bring the gotcha's to the front of the line!
[Magisk] chirag.keshri:
Guys i am using a custom rom in my pocof1 and my phone is rooted and decrypted (no encryption). When i setup intune app it setups work profile and it asks me to encrypt the device. I have enable hide magisk for intune app. Please help to fix this issue.
[Magisk] ForForkSake:
Don't decrypt your device and you'll be fine. There's no getting around it.

Although my rom shows encrypted but can view it in recovery without decrypting... I installed rom and then wiped data and it loads as encrypted in the os itself
[Magisk] Steve0007:
Eventually got it working. Just ensure you hide Outlook and intune.

Within the hide option related to Intune make SURE you select

all the sub-activity within Intune / Company portail.
[Magisk] sa3d1337:
Hello, If someone is able to help me, I have Galaxy S7, running custom rom with Android 10 and Samsung One Ui 2.5. I am trying to enable Microsoft Intune on my phone and I did not root my phone so I can run this app but now it is asking for Knox encryption but I don't have it because Knox tripped cuz of custom rom. Can someone tell me how I can enable encryption so i can access my work mail through intune. Thanks
[Magisk] GoodSoul:
Hey @Dreamer(3MF)

Can you please fix your 1st post? It is very hard to read when everything is crossed out, thanks.
[Magisk] karthik1988_extra:
Does anyone have a current working solution for this issue. I rooted my Xiaomi Mi Max2 with the latest Android 10. Magisk is setup - hidden and safety net passes just fine.

However, the solution as given in this thread for bypassing Microsoft Intune Company portal just doesn't work for me. Any other approach to making this happen?
[Magisk] Didgeridoohan:
From this report it seems like Magisk can hide from it just fine:

https://github.com/topjohnwu/Magisk/issues/3755

Make sure all components are added to the hide list (no need for a separate module, it seems).
[Magisk] skoop99:
I can't see the Company Portal app in the app list either. So, I cannot hide it. This is getting a wee bit frustrating...

EDIT: I had to go into the Play Store, look for Intune, click Enable on the app - don't open it. THEN it shows up in Magisk's Hide list.

EDIT again: After doing that, rebooting, and enrolling my device, it all works. Sweeeeet.
[Magisk] amit_coolcampus:
It means you had disabled the app, you could do the same by finding the app in the apps section of settings.
[Magisk] skoop99:
No, the app gets disabled automatically when you try to enrol your device & it hits the root block.
[Magisk] amit_coolcampus:
I didn't face any such issue.
[Magisk] skoop99:
May be how your org has Intune configured? It happened to me consistently until I figured out how to make sure Magisk could hide it.
[Magisk] karthik1988_extra:
Thanks for your link. But unfortunately, it still doesn't work me. I have taken all the necessary precautions (i.e) Check if Satefynet passes, Delete Storage, Hide the App in Magisk before opening etc. But it still doesn't seem to work.

Quick Aside - To get safety net to pass, I had to edit the device fingerprint in props using Termux - for Mi Max2 (Android 7.1.1)

My company restricts the use of Intune Company Portal to devices Android 8.0 and above. Could it be that the editing of the device fingerprint somehow is screwing up this check
[Magisk] Didgeridoohan:
I doubt it'd make a difference, but you could always check by using a different fingerprint.

There are many things that an app can check for, so it could be checking for a custom ROM, apps on your device, etc. Things that Magisk cannot hide...
[Magisk] IlyaKol:
Anyone's Intune all of a sudden start detecting root? I'm on the latest magisk (22004), Jan security update with everything hidden, etc. I did just clear the storage and cache for Company Portal with no dice.
[Magisk] VlitalityX:
Same here, suddenly root was detected even with magisk hide. I saw another post on the magisk subreddit with this same exact issue. For him, he was passing safetynet too.
[Magisk] mikedcarr:
Same. Been working w/ no issues for probably a year, then today Outlook took an update and it now it detects root.