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

Bug report: Using m365 pa app export does not export link to embedded flows in app #6575

Open
stack52 opened this issue Jan 25, 2025 · 1 comment

Comments

@stack52
Copy link

stack52 commented Jan 25, 2025

Priority

(Medium) I'm annoyed but I'll live

Description

When I backup my Powerapps apps (with embedded PA_flows) with the command m365 pa app export the app itself is exported in the zip-file but not the embedded flows (manifest.json wrong and Microsoft.Flow directory missing), hereby you can't use the backup zip to import/restore the app via Powerapps Studio!
When exporting the app in Powerapps Studio, the import works fine!!!

Steps to reproduce

Image

the dropdown remains empty and when clicking "Import" in Powerapps Studio the error appears

Image

Expected results

Zip-file with 2 directories and manifest.json cfr export-command in PowerappsStudio

Actual results

Zip-file with one directory with the app only, flows embedded in the app are not present

Diagnostics

No response

CLI for Microsoft 365 version

v9.0.0

nodejs version

v20.17.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

authMode : browser
cliAadAppId : fa1ef0cd-bfdc-40df-bfc1-b394b8cxxxx
cliAadAppTenant: single
cliConfig : {"autoOpenLinksInBrowser":true,"copyDeviceCodeToClipboard":true,"output":"text","printErrorsAsPlainText":true,"prompt":true,"showHelpOnFailure":true,"showSpinner":true,"helpMode":"full","authType":"browser","clientId":"fa1ef0cd-bfdc-40df-bfc1-b394b8cxxxx","tenantId":"83a87b94-50e9-4879-b4dc-5db1a329xxxx"}
cliEnvironment :
cliVersion : 9.0.0
nodeVersion : v20.17.0
os : {"platform":"win32","version":"Windows 10 Pro","release":"10.0.19045"}
roles : []
scopes : {"https://graph.microsoft.com":["AllSites.FullControl","AppCatalog.ReadWrite.All","AuditLog.Read.All","Bookings.Read.All","Calendars.Read","ChannelMember.ReadWrite.All","ChannelMessage.Read.All","ChannelMessage.ReadWrite","ChannelMessage.Send","ChannelSettings.ReadWrite.All","Chat.ReadWrite","Directory.AccessAsUser.All","Directory.ReadWrite.All","ExternalConnection.ReadWrite.All","ExternalItem.ReadWrite.All","Group.ReadWrite.All","IdentityProvider.ReadWrite.All","InformationProtectionPolicy.Read","Mail.Read.Shared","Mail.ReadWrite","Mail.Send","Notes.ReadWrite.All","OnlineMeetingArtifact.Read.All","OnlineMeetings.ReadWrite","OnlineMeetingTranscript.Read.All","PeopleSettings.ReadWrite.All","Place.Read.All","Policy.Read.All","RecordsManagement.ReadWrite.All","Reports.Read.All","RoleAssignmentSchedule.ReadWrite.Directory","RoleEligibilitySchedule.Read.Directory","SecurityEvents.Read.All","ServiceHealth.Read.All","ServiceMessage.Read.All","ServiceMessageViewpoint.Write","Sites.Read.All","Tasks.ReadWrite","Team.Create","TeamMember.ReadWrite.All","TeamsAppInstallation.ReadWriteForUser","TeamSettings.ReadWrite.All","TeamsTab.ReadWrite.All","TermStore.ReadWrite.All","User.Invite.All","User.ReadWrite.All","profile","openid","email"],"https://service.powerapps.com/":["User"],"https://management.azure.com/":["user_impersonation"]}

Additional Info

No response

@stack52 stack52 added the bug label Jan 25, 2025
@milanholemans
Copy link
Contributor

Thank you for raising this issue. If the UI is exporting the embedded flows, we should take a look at how we can include these embedded flows in the export command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants