https:\/\/login.microsoftonline.com\/common\/oauth2\/v2.0\/authorize?nonce=f7buTVb2jsYqIdglEfwxW4OYWSZ8pu3C6e6ArYXij1A&response_type=code&code_challenge_method=S256&scope=https:\/\/graph.microsoft.com\/User.Read%20https:\/\/graph.microsoft.com\/Files.ReadWrite.All%20offline_access&code_challenge=pUnIFpJSSbjD0NIAH3jDOBfCShezfC52bzwD51WhOy0&redirect_uri=msauth.com.readdle.pdfexpert5:\/\/auth\/&client_id=8e27befb-4e35-4688-a548-769600f7b04e&state=qT-xZF7DIkEesGF_dy9TsZr8YSTqGtDcVJHKrF0IumA<\/a><\/p>\nI copy pasted this URL and visited it in on my desktop with an admin account after enabling the \u201cApplication Administrator\u201d (or more powerful) role.<\/p>\n
This brings up a window asking for permissions:<\/p>\n
<\/p>\n
I accepted that.<\/p>\n
Next, I logged in to Entra ID portal and found “PDF Expert” under Enterprise Applications. I went to the Permissions section to see what permissions were granted.<\/p>\n
<\/p>\n
Looks good, Delegated permissions that lets the signed in user read their files and such.<\/p>\n
At this point if an end user tries to use PDF Expert it still won’t work as I haven’t consented on behalf of the firm. So I clicked the button that did consent for everyone. This added more permissions to the list, with the result that I now have a consent for the following permissions for everyone:<\/p>\n
<\/p>\n
I removed the ones I felt were unnecessary – the last two especially, and also the Sites.Manage.All<\/code> Graph permission. If need be I can grant those later. The end result was:<\/p>\n<\/p>\n
After that I tested as a user and I was successfully able to connect PDF Expert with OneDrive.<\/p>\n
Update (12th Oct 2023)<\/strong>: I did the same for Adobe Acrobat today and here’s the URL for that:<\/p>\nhttps:\/\/login.microsoftonline.com\/common\/oauth2\/v2.0\/authorize?x-app-name=Acrobat&x-client-brkrver=3.3.0&login_hint=<email>%40<address.tld><\/strong>&x-client-Ver=1.2.15&brkr=1&client-request-id=8B8E91F6-AF4D-4F37-B7BB-5B0C1B3D78BD&x-client-src-SKU=MSAL.iOS&response_type=code&redirect_uri=msauth.com.adobe.Adobe-Reader%3A%2F%2Fauth&x-client-CPU=64&x-app-ver=23.08.01&haschrome=1&state=QkRDNkQ5NDQtRUIyRC00MTMzLUE4QjAtRDNCRDI2MkYyQkEz&return-client-request-id=true&X-AnchorMailbox=Oid%3A78cdec0a-739e-4612-8ac6-d2e78580042d%40<tenantId><\/strong>&scope=Files.ReadWrite.All%20User.Read%20openid%20profile%20offline_access&domain_req=<tenantId><\/strong>&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22protapp%22%5D%7D%7D%7D&x-client-SKU=MSAL.iOS&client_id=cf90ab8f-8091-4c2d-b6a9-0b89a3312382&x-client-OS=17.0.1&client_info=1&domain_hint=organizations&x-client-DM=iPhone&login_req=78cdec0a-739e-4612-8ac6-d2e78580042d<\/code><\/p>\nGot to replace some bits like the tenantId and email address (the %40<\/code> character is @<\/code>).<\/p>\n","protected":false},"excerpt":{"rendered":"When using an app like PDF Expert or Adobe Acrobat on a mobile\u00a0 phone, if the user wants to open documents from OneDrive for business they have to setup a connection with the tenant first. Else they get warnings like these: The actual workflow of where they get the prompt varies. In the case of … Continue reading PDF Expert\/ Adobe Acrobat admin consent from a mobile phone<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[887],"tags":[],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts\/7406"}],"collection":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/comments?post=7406"}],"version-history":[{"count":5,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts\/7406\/revisions"}],"predecessor-version":[{"id":7422,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/posts\/7406\/revisions\/7422"}],"wp:attachment":[{"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/media?parent=7406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/categories?post=7406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakhesh.com\/wp-json\/wp\/v2\/tags?post=7406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}