Android for Work - Contacts?

%3CLINGO-SUB%20id%3D%22lingo-sub-836231%22%20slang%3D%22en-US%22%3EAndroid%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-836231%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI'm%20testing%20out%20android%20for%20work%2C%20I've%20enrolled%20a%20device%2C%20which%20sets%20up%20Outlook%20via%20configuration%20policy%2C%20within%20the%20android%20for%20work%20profile%2C%20the%20contacts%20app%20does%20not%20populate%2C%20I've%20deployed%20settings%20to%20read%20%5C%20write%20contacts%20for%20Outlook%2C%20I've%20set%20a%20configuration%20profile%20to%20auto%20grant%20permissions%20within%20the%20work%20profile.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWhen%20going%20to%20the%20outlook%20settings%20and%20selecting%20'Sync%20contacts'%20an%20error%20pops%20up%20and%20states%20'contact%20permissions%20are%20not%20fully%20granted...%22%20so%20within%20the%20workspace%20settings%2C%20I've%20checked%20the%20outlook%20app%20settings%20and%20the%20permission%20option%20for%20contacts%20is%20set%20to%20'enabled%20by%20admin'.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAlso%2C%20if%20I%20try%20to%20'sync%20your%20accounts'%20from%20the%20AFW%20contact%20app%2C%20outlook%20does%20appear%2C%20I%20sign%20in%20and%20then%20I%20receive%20an%20error%20of%20'This%20email%20address%20is%20already%20connected%20with%20Office%20365.%20Do%20you%20want%20to%20connect%20it%20with%20another%20service%3F%22%20and%20then%20I%20select%20O365%20Outlook%20app%20again%2C%20but%20nothing%20really%20happens.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIs%20it%20supported%20to%20view%20contacts%20from%20Office%20365%20via%20the%20AFW%20contact%20app%3F%20(Not%20the%20personal%20contact%20app)%3F%20If%20so%2C%20how%20do%20I%20configure%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-836231%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eandroid%20for%20work%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eenrollment%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emam%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837155%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837155%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388479%22%20target%3D%22_blank%22%3E%40Durrante%3C%2FA%3E%26nbsp%3B%20In%20the%20app%20protection%20policy%20for%20Outlook%2C%20do%20you%20have%20contacts%20sync%20enabled%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130107iBE66EB1AD68B6685%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Outlook_APP.png%22%20title%3D%22Outlook_APP.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837168%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837168%22%20slang%3D%22en-US%22%3EI%20do%20indeed.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-842967%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-842967%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388479%22%20target%3D%22_blank%22%3E%40Durrante%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20set%20the%20configuration%20profile%20to%20auto%20grant%20permissions%20within%20the%20work%20profile%2C%20did%20you%20set%20this%20using%3B%3C%2FP%3E%3CUL%3E%3CLI%3EDevice%20Restrictions%20profile%2C%20Default%20app%20permissions%20%3D%20Auto%20Grant%3C%2FLI%3E%3CLI%3Eor%3B%20an%20individual%20Managed%20App%20config%20for%20Outlook%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%2CAndrew%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-873635%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-873635%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F250456%22%20target%3D%22_blank%22%3E%40AndrewDawson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Andrew%2C%3C%2FP%3E%3CP%3EI%20have%20the%20same%20exact%20issue%20and%20I%20have%20the%20device%20restriction%20policy%20and%20tested%20with%20an%20APP%20configuration%20policy.%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20have%20the%20same%20error.%20%22Contact%20permisssions%20are%20not%20fully%20granted%22%20when%20selecting%20%22opening%20settings%22%20on%20the%20Outlook%20App%20to%20grant%20permissions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%20to%20help%3C%2FP%3E%3CP%3ENote%3A%20Sync%20contacts%20to%20native%20app%20is%20enabled.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-874340%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-874340%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F414677%22%20target%3D%22_blank%22%3E%40Sameer1884%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20to%20change%20the%20Device%20configuration%20property%20%22Default%20app%20permission%22%20(under%20Work%20profile%20settings)%20to%20%22Prompt%22%20instead%20of%20%22Auto%20grant%22.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20Auto%20grant%20we%20had%20the%20same%20issue%2C%20as%20the%20system%20does%20not%20grant%20all%20required%20permissions%20automatically%20and%20thus%20fail%20to%20sync%20the%20contacts%20locally.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-875502%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-875502%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F395052%22%20target%3D%22_blank%22%3E%40weberda%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F414677%22%20target%3D%22_blank%22%3E%40Sameer1884%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20also%20found%20setting%20to%20Prompt%20can%20cause%20this%20issue%2C%20the%20problem%20can%20occur%20on%20any%20MDM%20platform%20and%20seems%20to%20happen%20to%20Android%20~7-8%20devices.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EChange%20the%26nbsp%3B%3CSPAN%3E%3CSTRONG%3EDefault%20app%20permissions%3C%2FSTRONG%3E%20to%20%3CSTRONG%3Edefault%3C%2FSTRONG%3E%2C%20this%20will%20have%20the%20same%20impact%20as%20prompt%20without%20defining%20the%20setting.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20application%20that%20requires%20Auto%20Grant%20will%20have%20to%20be%20setup%20using%20App%20Config%20under%26nbsp%3B%3CSTRONG%3EClient%20apps%20%26gt%3B%20App%20configuration%20policies%3C%2FSTRONG%3E.%20More%20information%20can%20be%20found%20here%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapp-configuration-policies-use-android%23preconfigure-the-permissions-grant-state-for-apps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapp-configuration-policies-use-android%23preconfigure-the-permissions-grant-state-for-apps%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%2CAndrew%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-876140%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-876140%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Thank%20you%20Andrew%20and%20Daniel%20I%20will%20test%20with%20both%20your%20setting%20ans%20leave%20a%20feedback.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-876214%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-876214%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F250456%22%20target%3D%22_blank%22%3E%40AndrewDawson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Andrew%3C%2FP%3E%3CP%3EWhen%20you%20say%20set%20permissions%20to%20%22%3CSTRONG%3EDefault%3C%2FSTRONG%3E%22%20%2C%20do%20you%20mean%20to%20say%20remove%20all%20permissions%20set%20on%20the%20policy%20for%20app%20configuration%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20add%20all%20permissions%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20I%20have%20these%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F133582iB8DDD19F76A8B8C5%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22permissions%20contact1.jpg%22%20title%3D%22permissions%20contact1.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F133581iEEF2EBE62125C020%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22permissions%20contact2.png%22%20title%3D%22permissions%20contact2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-879012%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-879012%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F250456%22%20target%3D%22_blank%22%3E%40AndrewDawson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20problem%20is%20resolved.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethere%20is%20a%203rd%20permission%20for%20contacts%20that%20needed%20to%20be%20added%20on%20top%20of%20Read%20and%20Write%3A%20Get%20Accounts%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F133752iC34E724758B6F2CB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1119281%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1119281%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F414677%22%20target%3D%22_blank%22%3E%40Sameer1884%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot.%20I%20had%20the%20same%20problem%20and%20applied%20your%20settings%20and%20it%20worked%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1119431%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1119431%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F526564%22%20target%3D%22_blank%22%3E%40Joe_Mathew%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20No%20Problem.%20Glad%20I%20could%20help.%20It%20did%20make%20me%20waste%20a%20lot%20of%20time%20trying%20to%20get%20this%20sorted.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1119618%22%20slang%3D%22en-US%22%3ERe%3A%20Android%20for%20Work%20-%20Contacts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1119618%22%20slang%3D%22en-US%22%3EYup%2C%20u%20r%20right%2C%20initially%20we%20had%20same%20issue%20which%20got%20resolved%20by%20changing%20the%20settings%20to%20%E2%80%9Cprompt%E2%80%9D%20instead%20auto%20grant%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20works%20for%20me.%3Asmiling_face_with_smiling_eyes%3A%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi guys,


I'm testing out android for work, I've enrolled a device, which sets up Outlook via configuration policy, within the android for work profile, the contacts app does not populate, I've deployed settings to read \ write contacts for Outlook, I've set a configuration profile to auto grant permissions within the work profile.


When going to the outlook settings and selecting 'Sync contacts' an error pops up and states 'contact permissions are not fully granted..." so within the workspace settings, I've checked the outlook app settings and the permission option for contacts is set to 'enabled by admin'.


Also, if I try to 'sync your accounts' from the AFW contact app, outlook does appear, I sign in and then I receive an error of 'This email address is already connected with Office 365. Do you want to connect it with another service?" and then I select O365 Outlook app again, but nothing really happens.


Is it supported to view contacts from Office 365 via the AFW contact app? (Not the personal contact app)? If so, how do I configure this?

12 Replies

@Durrante  In the app protection policy for Outlook, do you have contacts sync enabled?

 

Outlook_APP.png

I do indeed.

Hi @Durrante,

 

When you set the configuration profile to auto grant permissions within the work profile, did you set this using;

  • Device Restrictions profile, Default app permissions = Auto Grant
  • or; an individual Managed App config for Outlook?

,Andrew

@AndrewDawson 

 

Hi Andrew,

I have the same exact issue and I have the device restriction policy and tested with an APP configuration policy. 

But I have the same error. "Contact permisssions are not fully granted" when selecting "opening settings" on the Outlook App to grant permissions.

 

thanks to help

Note: Sync contacts to native app is enabled.

@Sameer1884 

 

Try to change the Device configuration property "Default app permission" (under Work profile settings) to "Prompt" instead of "Auto grant". 

 

With Auto grant we had the same issue, as the system does not grant all required permissions automatically and thus fail to sync the contacts locally.

 

Daniel

Hi @weberda @Sameer1884,

 

I have also found setting to Prompt can cause this issue, the problem can occur on any MDM platform and seems to happen to Android ~7-8 devices.

 

Change the Default app permissions to default, this will have the same impact as prompt without defining the setting.

 

Any application that requires Auto Grant will have to be setup using App Config under Client apps > App configuration policies. More information can be found here; https://docs.microsoft.com/en-us/intune/app-configuration-policies-use-android#preconfigure-the-perm...

 

,Andrew

Hi Thank you Andrew and Daniel I will test with both your setting ans leave a feedback.

 

thanks

@AndrewDawson 

Hi Andrew

When you say set permissions to "Default" , do you mean to say remove all permissions set on the policy for app configuration?

 

Or add all permissions?

 

Currently I have these:

permissions contact1.jpg

permissions contact2.png

Thanks

@AndrewDawson 

 

Hi 

My problem is resolved.

 

there is a 3rd permission for contacts that needed to be added on top of Read and Write: Get Accounts

 

Capture.PNG

@Sameer1884 

 

Thanks a lot. I had the same problem and applied your settings and it worked 

@Joe_Mathew 

Hi No Problem. Glad I could help. It did make me waste a lot of time trying to get this sorted. :)

Yup, u r right, initially we had same issue which got resolved by changing the settings to “prompt” instead auto grant

It works for me.:smiling_face_with_smiling_eyes: