web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

AL Table Proxy Generator "Scope" parameter

(0) ShareShare
ReportReport
Posted on by 629

I followed ZHU's blog (https://yzhums.com/17065/) to setup Integrate custom tables between Business Central and Dataverse.

When the following command 
.\altpgen
-Project
-PackageCachePath
-ServiceURI
-Entities
-BaseId
-[TableType]

is run in the Power Shell ISE as administrator. I get the following problem.

pastedimage1644493789600v1.png
On Stackoverflow a user had a similar problem with Azure and the solution was to disable the "Profile offline_Access" scope. 

There is no "Scope" parameter in the Microsoft documentation (docs.microsoft.com/.../devenv-al-table-proxy-generator) for AL table Proxy Generator. 
Where should I change these settings?

Thank you in advance.

I have the same question (0)
  • Suggested answer
    Hein Kruger Profile Picture
    629 on at

    No Sure if this solved it, but I was able to sign in.

    On the DataVerse User Setup. Go To Manage Roles And add assign the following to the user

    * BizQAApp

    * System Customizer

    (Source www.youtube.com/watch

    In PowerShell ISE. I changed the serviceuri to the full URL:"org********.crm4.dynamics.com/"

    After making this changes. I was able to login.

  • Andy Sather Profile Picture
    on at

    Thank you for replying back with your resolution

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans