Hi,
we have the problem, that we cant connect to Universal Print through BC on-prem BC20 CU8.
I have all the correct settings in the app registration like here:
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/register-app-azure
'
Is there anything special, that doesnt stand there in the manual? Like that I must Expose an API from my Azure AAD Autentication app registration with the /SignIn reply URL? Did I miss something?
My user is Global Printer Administrator, but a colleague tried it with Printer Administrator and Global Administrator and it doesn't work.
My User has a Microsoft 365 Enterprise E5 license, I have installed correctly the printer share application, shared a printer to Azure Universal Print.
Run the assisted Setup for configure Azure AD App connection, pasted the Application ID, the secret value and the correct answer URL with /OAuthLanding.htm
And then run the "Add All Universal Printers" in the printer configuration panel. The window comes up with "Authorize Azure Services", I click on it and on the first click a windows comes up with my app registration name, looks good. I click on grant or ok, and nothing happends. The follwing error comes up:
Wir konnten über ihre Azure AD-Anwendungsregistrierung keine Verbindung mit Universal Print herstellen. Führen Sie die unterstützte Einrichtung von Azure Active Directory erneut aus, und stellen Sie sicher, dass alle Werte richtig festgelegt sind.
or in English:
We were unable to connect to Universal Print through their Azure AD application registration. Run the Azure Active Directory assisted setup again and ensure all values ​​are set correctly.
I looked through everything twice with a colleague and we found no problem. When you run the "Add All Universal Printers" again, the permission windows from Azure doesnt appear again and the same error message is coming instantly and we have no clue why.
You find nothing in the Event Viewer.. So I am really at a point where I need the support from the forum here.
Thank you for help!
best regards,
Robin
Thanks a lot and appreciated working with you.
Yeah, Marco helped us a lot.
In our migrated companies the table ?=6303 was not filled out. That was the problem. When we run CodeUnit 6304 in our migrated company, the table gets his entries and the Universal Print or PowerBI connection wizard works without problems after that.
Thank you again for your help!
best regards,
Robin
Hello,
Yesterday, I took ownership of the incident and I sent mail to the mail address that is assigned to the support ticket . If you are not a partner, then the support ticket is pending your partner.
Thank you.
I've openend up a ticket. Do you like to have the number?
Hello,
Interesting, does the Token Cache table in the migrated database have an entry for the user you are testing with. Apart from that, you may want to raise this issue to Microsoft support via your partner or CSP. You can refer to this community posting and if I am lucky, the support case goes to me (as it seems it is EMEA you are reporting this from).
Thank you.
I have the answer. We are using migrated databases from BC14. When we make a new company, everything works fine and you can finish the Azure Service connection for PowerBI or Universal Print. We can see our printers, everything works in a new created company under BC20 CU8. But it doesn't work on the old companies we migrated.. So we must find out what Microsoft does in the company creation and also do it for our migrated companies. Maybe this is usefull for someone. ;-)
Maybe some Microsoft people can tell, what magic happends in the company creation that the migrated companies doesn't have?
Would be nice, otherwise we will figure it out.
best regards,
Robin
Hey Marco,
thank you. I tried it now under 3 different machines and two different Azure Tenants - same result.
At the third machine, the Azure login window plops on and instantly closes and this windows came on:
We gave the delegated permissions under:
Universal Print integration | Microsoft Graph | PrinterShare.ReadBasic.All | Delegated | Read basic information about printer shares. Required for using Universal Print printers. |
PrintJob.Create | Delegated | Create print jobs. Required for using Universal Print printers | ||
PrintJob.ReadBasic | Delegated | Read basic information of user's print jobs. Required for using Universal Print printers. |
Is it a specific problem under BC20 CU8, can anyone test this?
Or what can we do?
Thank you!
best regards,
Robin
Hello,
Sometimes we see that partners add Universal print as a permissions to their App registration. But the correct permissions are to be found as a subcategory under Microsoft Graph.
Hope it helps if you can verify that as well.
Thank you.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156