pnp / modernization

All modernization tooling and guidance
http://aka.ms/sppnp-modernize
MIT License
157 stars 86 forks source link

[FEATURE] #504

Closed sush315 closed 4 years ago

sush315 commented 4 years ago

Is your feature request related to a problem? Please describe. yes . Sharepoint Modernization tool. https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner

Describe the solution you'd like We are facing issues after running the setup . It immediately stop saying "The application has stopped working" We are running it in our Office 365 enviroment using global admin credentials

Describe alternatives you've considered We would like to run the tool using any of the authendication methods.

Additional context Add any other context or screenshots about the feature request here.

jansenbe commented 4 years ago

Hi @sush315 ,

Can you provide more details on the what error you're getting? It seems as if you're providing invalid input to the scan and therefore it fails...

sush315 commented 4 years ago

Hi,

We are following the instructions provided in the below link. https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner

We are just downloading the setup and then running it

using the option of Authenticate via credentials, We are providing global admin credentials for that.

Please confirm if we are missing out some steps as this is a new tool and we are using first time. Attaching the screen shot of the error.

jansenbe commented 4 years ago

@sush315 : I don't see any screenshot? If you open a command prompt and launch the scanner.exe from there you still get the UI, but once an error happens it should stay visible in the command prompt window. Without error information there's not much I can do

sush315 commented 4 years ago

hi,

We tried the command prompt option . Please find screen shot attached. Error File.docx Error File.docx

jansenbe commented 4 years ago

I assume you're scanning SharePoint Online...the scanner does not work for SharePoint On-premises.

Second thing: the scanner requires the .Net 4.6.1 framework or higher to be installed. Can you cross check what versions are installed on your computer?

What input are you providing in the wizard? Please check https://aka.ms/sharepoint/modernization/scanner to learn more about how to use the scanner

sush315 commented 4 years ago

We have the correct .Net installed and we are using Authenticate via credentials, We are providing global admin credentials.

Is there a way we can have a screen sharing session so that you can take a look at the issue we are facing.

jansenbe commented 4 years ago

Please make screenshots of each page of the wizard and send those...I'm currently OOF but will try to see what I can do

sush315 commented 4 years ago
Capture1 Capture2 Capture3 Capture4 Capture6
sush315 commented 4 years ago

Please find all the screen shots. Please provide resolution as the earliest as we are looking forward to migration and need the reports on priority

jansenbe commented 4 years ago

When you enter the tenant name you only need to specify the name, you can leave out https://. So in your case tenant name needs to be entered as bd1-admin

sush315 commented 4 years ago

Yes that is what we are doing.

On Mon, Aug 3, 2020, 6:19 PM Bert Jansen notifications@github.com wrote:

When you enter the tenant name you only need to specify the name, you can leave out https://. So in your case tenant name needs to be entered as bd1-admin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pnp/sp-dev-modernization/issues/504#issuecomment-668004131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIVGEWWY7BWRZWM5RY2SDUTR62W5HANCNFSM4PCUVAYA .

jansenbe commented 4 years ago

No, your screenshot shows you've entered the https:// in front of the tenant name, that's not needed

sush315 commented 4 years ago

We have tested that we are only entering bd1-admin in the middle box. The https:// is pre fixed in first box and greyed out cannot be removed or changed.

jansenbe commented 4 years ago

Please test with scanning a single site and see if that helps...

sush315 commented 4 years ago
Capture_new

we tried with single URL . still same issue.

jansenbe commented 4 years ago

Can you confirm the used account can access the site collection being scanned? The account should be site collection admin.

Plan B is trying with app-only (which is anyhow the recommended approach for scanning a complete tenant). Please configure Azure AD app-only and use that.

sush315 commented 4 years ago

Yes the account has full access.

We need the steps to configure that. Can you please setup a remote session with us as it's getting delayed now.

On Fri, Aug 7, 2020, 1:16 AM Bert Jansen notifications@github.com wrote:

Can you confirm the used account can access the site collection being scanned? The account should be site collection admin.

Plan B is trying with app-only (which is anyhow the recommended approach for scanning a complete tenant). Please configure Azure AD app-only and use that.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pnp/sp-dev-modernization/issues/504#issuecomment-670157231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIVGEWWTJOHU5T4OV2OOOD3R7MCCZANCNFSM4PCUVAYA .

jansenbe commented 4 years ago

see https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner#step-2-preparing-for-a-scan

sush315 commented 4 years ago

Do we need Azure admin console to run it.

Please provide us how to install it .

On Fri, Aug 7, 2020, 12:51 PM Bert Jansen notifications@github.com wrote:

see https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner#step-2-preparing-for-a-scan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pnp/sp-dev-modernization/issues/504#issuecomment-670370984, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIVGEWVF46P2EXPYPGN2Z43R7OTPJANCNFSM4PCUVAYA .

jansenbe commented 4 years ago

The steps to properly configure Azure AD app-only require admin access to Azure AD. Please work with your admins to configure that. If you are tenant admin yourself you can follow the instructions in the documentation I shared earlier on: https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner#step-2-preparing-for-a-scan

sush315 commented 4 years ago

We are unable to execute the below command Initialize-PnPPowerShellAuthentication -ApplicationName ModernizationScannerApp -Tenant contoso.onmicrosoft.com -Scopes "SPO.Sites.FullControl.All","MSGraph.Group.Read.All" -OutPath c:\temp -CertificatePassword (ConvertTo-SecureString -String "password" -AsPlainText -Force)

Please let us know which console should we use to run this commaand. We are using sharepointonline managment shell. We have used

Connect-pnpservices connect-sposervices

Still it fails with error Initialize-PnPPowerShellAuthentication is not a recognized command.

sush315 commented 4 years ago

Hi ,

We are not getting any response on this issue as already informed its an urgent issue as we are looking as big migration.

Just wanted to inform you that we have maanged to resolve the previous issue but now while running the below command we are getting error exactly after entering the "Tenant " parameter.

Capture-Tenanterror
jansenbe commented 4 years ago

Seems there are too many things getting mixed up...please contact me at bjansen@microsoft.com for a Teams session to help you get the scanner running. Please ensure you've tenant admin credentials available before the call. I'll close this issue as we're following this up via email.