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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Tried using VS Code bu...
Power Pages
Answered

Tried using VS Code but error "Website record doesnt exist"

(1) ShareShare
ReportReport
Posted on by 38

Hi,

 

I have a Power Pages and I found out I could use visual studio and simplify my work... but I am getting errors when trying to create a folder with the website data.

 

I can list and see it

 

aldirjr_0-1697776303202.png

 

but when I use that Website ID, it says that it doesnt exist!!

 

aldirjr_1-1697776400918.png

 

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,567 Super User 2026 Season 1 on at

    Hi @aldirjr,

     

    are you using the enhanced data model?

    If you are using the PAC CLI and enhanced data model you will face that error as it is currently not supported.

    Suggestion would be to use the VS Web extension inside the Portal Designer.



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • Lucas001 Profile Picture
    2,567 Super User 2026 Season 1 on at

    Hi @aldirjr,

     

    if that solves your problem, could you close the thread?

    In case you have any more questions feel free to ask them.

  • yyao Profile Picture
    4 on at

    Hi! I have the exact same error using PowerShell, is the issue fixed or any other workaround? Thanks!!

  • Verified answer
    Lucas001 Profile Picture
    2,567 Super User 2026 Season 1 on at

    Hi @yyao,

     

    there seems to be a solution now.

    Can you have a look here: https://deref-web.de/mail/client/hBUD62JdFjU/dereferrer/?redirectUrl=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fpower-pages%2Fadmin%2Fenhanced-data-model%23data-model-power-platform-cli-parameters



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • yyao Profile Picture
    4 on at

    That is exactly what I need, thanks so much Lucas!

  • Lucas001 Profile Picture
    2,567 Super User 2026 Season 1 on at

    Hi @aldirjr,

     

    it seems to be now solved with the link I posted above.

    Can you have a look and close the thread if your problem is solved.

    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • aldirjr Profile Picture
    38 on at

    Hi Lucas, thank you very much!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 50

#2
Valantis Profile Picture

Valantis 26

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard