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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / VS Code Authorization ...
Power Pages
Unanswered

VS Code Authorization Failed

(0) ShareShare
ReportReport
Posted on by 103

Hi everyone

 

I'm not sure if this is the right place to post this but I'm trying to make a few changes to my custom CSS on my Power Pages site.  I've always used the Edit code option to open the web-based VS Code and this has worked fine up until now:

 

gjayne1984_0-1676888375986.png

 

However, for some reason I'm now running into an authorization issue.  When the following comes up I'm prompted to sign in with my 365 account:

 

gjayne1984_1-1676888452504.png

 

Every time I sign in though I get the following error:

 

gjayne1984_2-1676888477337.png

 

I've tried with a couple of different accounts and also tried on Edge and Chrome but it's always the same.  Has anyone else experienced this, and if so do you know how I can get around it?

 

Categories:
I have the same question (0)
  • Verified answer
    Weiguang Profile Picture
    11 on at

    I have a work around. Try this tool below.

    https://www.xrmtoolbox.com/plugins/MscrmTools.PortalCodeEditor/

  • gjayn84 Profile Picture
    103 on at

    @Weiguang that's great thanks.  That tool works really well and allowed to make my changes.

  • gjayn84 Profile Picture
    103 on at

    @Weiguang that's great thanks.  That tool works really well and allowed to make my changes.

  • RaaUser3 Profile Picture
    6 on at

    I am also facing the same error while using the edit code option(this opens the Visual Studio Code for Web in a new browser tab) from Power Pages design studio. How do I overcome this authorization issue since unfortunately, I cannot use XRMToolBox nor can I use the Visual Studio Code Desktop version on my machine due to restrictions. 

     

    Any help will be deeply appreciated.

     

    CaptureErrorVS.PNG

     

    Thanks in advance.

  • zylgwyn Profile Picture
    9 on at

    I don't think this is resolved. Can we have an answer how to fix VS Code Authorization failed? I tried creating new page but I'm getting same authorization issue again on new page. 

     

    Using XRM Tool box is nice, but using VS Code is more robust and it has better functionality than XRM ToolBox. Any suggestions are appreciated here. Thanks

  • Dynamics2 Profile Picture
    5 on at

    test

  • christopherd123 Profile Picture
    2 on at

    For anyone having this issue, I resolved it by: installing newest version of Node.js, installing power platform cli, verifying power platform tools was installed to vs code desktop, also updated and restarted chrome. 

     

    I can now open and edit Power Pages from the designer & VS Code for web. 

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard