Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sharepoint-site-assistant - Error during import. Solution file is invalid. #286

Open
the6nope opened this issue Jan 7, 2025 · 5 comments
Assignees
Labels
Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@the6nope
Copy link

the6nope commented Jan 7, 2025

Sample

sharepoint-site-assistant

Author(s)

@Katerina-Chernevskaya

What happened?

When attempting to install SharePoint Assistant, I receive this error. The solution file is invalid. The compressed file must contain the following files at its root: solution.xml, customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft Dynamics 365 are not supported.

Steps to reproduce

Expected behavior

I expected to see the screens included with the solution registration

@the6nope the6nope added Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs labels Jan 7, 2025
@Katerina-Chernevskaya Katerina-Chernevskaya self-assigned this Jan 7, 2025
@Katerina-Chernevskaya
Copy link
Contributor

Hi @the6nope,

I've checked to import process just now and can't reproduce any error. Please follow these steps: https://github.com/pnp/powerplatform-samples/tree/main/samples/sharepoint-site-assistant#import-the-solution to import the solution.

Regards,
Katerina Ch.

@the6nope
Copy link
Author

the6nope commented Jan 7, 2025

I receive this error...
This flow won't work with the new designer yet because it:

Contains the Power Apps V1 trigger

@the6nope
Copy link
Author

the6nope commented Jan 7, 2025

Also this error
Flow client error returned with status code "BadRequest" and details "{"error":{"code":"XrmEnvironmentVariableAttributeNotFound","message":"Attribute ----scrubbed---- was not found for environment variable ----scrubbed----."}}".

@the6nope
Copy link
Author

the6nope commented Jan 7, 2025

What you created is really nice if I can get it to work. Can it designate what type of site to build? Can I select a Communication site or a Teams Site?

@Katerina-Chernevskaya
Copy link
Contributor

@the6nope I see, the issue is that the new designer doesn't support V1 Power Apps trigger. On my side I opened the solution flow in the make.powerapps.com without any issues, and the app works as expected.
I will update the flow in the sample later to switch to a new trigger. You can do the same in the meantime.

Regarding the second issue - looks like some variables missed values. Could you please check that all environment variables have proper value?

Regarding the site selection - for now the sample creates Communication sites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

2 participants