in this very short blog post I will write how to solve this (for me) annoying message.
This error sometimes occur to me when I try to configure Power BI to work in Dynamics NAV 2018, an error is shown on picture bellow.
Solution for this is to set up codeunits in Azure AD Mgt. Setup table which for some reason are missing them.
So go to development environment, find and run table 6303 Azure AD Mgt. Setup and after that create setup as shown in picture bellow.
And for us interesting is codeunit 6303 Azure AD Auth Flow.
After that setup Power BI will be able to work within NAV 2018.