felixSchober / VSCode-PowerAppsPortal-Extension

Currently, there is only one way to edit code for Power Apps portals which is using the Dynamics solution and the somewhat limited online editor. This extension provides a local source control of portal code including web files like images or style sheets, web templates and content snippets. Once configured, the extension loads all portal code and files to a local project folder. Then, you can edit, create or delete files. These changes can be pushed to the portal using the source control pane within visual studio code.
MIT License
22 stars 0 forks source link

Web Files not shown #138

Closed martincyr closed 3 years ago

martincyr commented 3 years ago

When syncing the portal, the status reports shows some templates and snippets were downloaded, but 0 files. Portal UI shows there are web files. Creating a file and pushing it to the portal works and now is tracked. Deleting the portal folder an recreating it only shows the newly created file. Is there something to check? The portal comes from a solution if that makes a difference. That solution was deployed by a different user.

Using app authentication and latest version.

martincyr commented 3 years ago

After a bit of investigation with Fiddler, it seems the call to adx_webfiles works fine, but the call to annotation only returns my newly create file, even when removing any filter.

martincyr commented 3 years ago

Ok, after a minute of thinking, I'm noticing that annotations are actually called Noted in the security roles. And yes, that was User scoped. Granting to org and it now works.