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

Announcements

No record found.

News and Announcements icon
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 666

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.

  • Suggested answer
    Hein Kruger Profile Picture
    666 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 748 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 354 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 351 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans