Code Monkey home page Code Monkey logo

Comments (22)

jansenbe avatar jansenbe commented on June 12, 2024

Hi @Nahar09 ,

Please use PnP PowerShell to run Get-PnPStorageEntity and provide me with the output of the entries starting with "Modernization_". There should be 6 entries.

from modernization.

yhertel avatar yhertel commented on June 12, 2024

I'm having the same issue. I ran the above and here is my output.
modernizationscreenshot1

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

@yhertel, that looks good. Can you check the following (copied from #46)

This looks like the bug I've fixed yesterday. When you've enabled page transformation for a site did you use the same casing for the URL as the URL actually is shown in SharePoint. There's a string replacement that used to fail when not being case sensitive.

Two ways to fix (both should work)

from modernization.

yhertel avatar yhertel commented on June 12, 2024

Do I need to blow away and re-create the Modernization center site? I did both of the fixes listed above and still have the problem. For me, if I try to run it in Edge, I get the 'Not all parameters configured...' but if I run in IE or Chrome, I get the 'Busy generating a modern version...' forever and ever. It also doesn't appear to add the toolbar button to sites -- I thought I'd try with a fresh site that I hadn't used it on before, and even though the Modernization center says it installed it, it doesn't appear in the ribbon.

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

When you press F12 (developer console) what errors do you see in the console?

from modernization.

yhertel avatar yhertel commented on June 12, 2024

I'm thinking it has to be this? Where do these permissions get set?

modernizationscreenshot2

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

Did you do the admin consent for the created Azure AD app? When you did the Azure setup the script mentioned at the very end to do the admin consent via a URL like this "Open a browser session to https://login.microsoftonline.com/common/oauth2/authorize?client_id=f0e040f0-21e3-4640-ba50-7b56be765b26&response_type=code&prompt=admin_consent"

So in your case, the Azure AD App id for you is the 6773811d-... value shown from the earlier Get-PnPStorageEntity call. So can you construct the needed URL (https://login.microsoftonline.com/common/oauth2/authorize?client_id=6773811d-TOCOMPLETE&response_type=code&prompt=admin_consent) and run that as that will get the consent done.

Once that's done please ensure that you enable the Page Transformation using the exact URL casing as SharePoint is showing when you browse the site (as mentioned earlier in this thread).

from modernization.

yhertel avatar yhertel commented on June 12, 2024

I am relying on another group to configure the Azure side because I do not have access -- makes it very challenging. I will forward to them and hopefully this will do the trick! Thank you for your assistance!

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

Hi @yhertel ,

Wanted to make you aware of the troubleshooting guide I created: https://github.com/SharePoint/sp-dev-modernization/blob/master/Solutions/PageTransformationUI/docs/troubleshootingguide.md.

Would be good if you could check the SharePoint side and have the Azure team verify the Azure side as well.

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

Hi @Nahar09,

Please be aware that there's a troubleshooting guide that can hopefully unblock you (if you still see the issue at least): https://github.com/SharePoint/sp-dev-modernization/blob/master/Solutions/PageTransformationUI/docs/troubleshootingguide.md

from modernization.

yhertel avatar yhertel commented on June 12, 2024

@jansenbe The troubleshooting guide will be very helpful! Thank you!

from modernization.

Nahar09 avatar Nahar09 commented on June 12, 2024

Hi , As suggested I ran the Get-PnPStorageEntity and got this output.
pnpissue
Also , I tried updating the app. But when I go to the modernization center -> site contents -> click on the three dots next to the sharepointpnp-pagetransformation-central app , there is no option to Get it
image
There are options to Monitor / Manage Permissions /Remove the App.
Should I re-install the modernization center?

from modernization.

Nahar09 avatar Nahar09 commented on June 12, 2024

Also for me, similar to @yhertel , the problem is in edge only , if i run it in Chrome or IE , I get the 'Busy generating a modern version...' and nothing happens.

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

Hi @Nahar09,

Can you also provide the output from Get-PnPTenantServicePrincipalPermissionGrants + when it's in the "Busy generating a modern version..." state press F12, go to the console output and create a screenshot so I can see the possible errors.

Also the troubleshooting guide (https://github.com/SharePoint/sp-dev-modernization/blob/master/Solutions/PageTransformationUI/docs/troubleshootingguide.md) can be helpful.

from modernization.

Nahar09 avatar Nahar09 commented on June 12, 2024

here is the output

image

from modernization.

Nahar09 avatar Nahar09 commented on June 12, 2024

The console gives following errors
image
image
image

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

Hey @Nahar09,

The problem is that you are pointing to a non existing Azure function app...The Modernization_FunctionHost points to pnpmodernizationtest1.azurewebsites.net but if I try to do a DNS lookup I don't find that host address. Did you do the Azure setup part? Could it be that the Azure function app was deleted afterwards?

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

Hi @Nahar09,

Did the above help explain the issue you see?

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

@yhertel : how are things progressing?

from modernization.

yhertel avatar yhertel commented on June 12, 2024

@jansenbe I'm still at the error re: the SPO Client Extensibility Web Application Principal. The Azure Admin says he did it all, but this doesn't appear anywhere, so it's obviously not set up correctly. I read somewhere that it can sometimes be accidentally deleted? But the AzureAdmin says he can't access the Azure powershell to restore it. After being an on-prem admin where I had access to everything I needed, I'm really struggling with SPO and having to rely on other groups to troubleshoot. I've been instructed to not spend any more time on it. Thank you for your efforts on this.

from modernization.

jansenbe avatar jansenbe commented on June 12, 2024

@yhertel : thx for the update. The SPO Client Extensibility Web Application Principal is a SharePoint infrastructure app and should be created automatically whenever the first deployed application needs it. It might be that since you do not have permissions in the AD side that this cause a problem. A solution would be to have a global admin do the deployment.

@Nahar09 : I've not heard back from you, feel free to create a new issue with problems you see after you've checked the missing Azure Function app setup

from modernization.

Nahar09 avatar Nahar09 commented on June 12, 2024

Thanks for all the help. Will work on this and try to resolve the issue. Will also check the troubleshooting guide.

from modernization.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.