-
Notifications
You must be signed in to change notification settings - Fork 230
Power Automate sample to automate sharing of Canvas App #131
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
Power Automate sample to automate sharing of Canvas App #131
Conversation
|
Hi @vipulj03 , Thank you for your sample! I was try to import the solution, however, I got the error when tried to add value to environment variables: When I skip this step and proceed with import, I got the following message:
Could you please check the source code and test Thank you! Regards, |
|
Hi @vipulj03 , I've tested on another tenant and was able to import the solution. Seems the issue above occurs in some tenants. When I tried to run the flow I got the error: It seems that the field reference should be without space ( Could you please check this on your side? Also I've noticed that you hardcoded app's id in the flow. That makes impossible to take the app id from another tenant. Could you please replace the hardcoded values with dynamically extracted app id? Thank you! If any questions - please ping me. BR, |
Added the suggested changes
|
Made the changes as suggested. |
|
Hi @vipulj03, Thank you for the update! It seems you use AppNameNew field in the flow, but in the ReadMe file stated to create AppName fiels. Please check it and update the code. Thank you! Regards, |
Changed the README file. The column to be used is AppNameNew
|
Updated README file. The flow to be tested with the new column "AppNameNew". |
|
Hi @vipulj03 , Thank you for updating the sample! The previous error resolved. However, I got a new one: Could you please resolve it and update the source code? Thank you! |
Updated the solution files
|
Hello @Katerina-Chernevskaya - In my case, the power automate flow is executing correctly (please find below image). Hopefully, the "Users" column in the SharePoint list is marked as multiple selection=Yes (as mentioned in Readme file).
|
|
Hi @vipulj03 , Thank you for the update! However, another error appeared - related to the app name: I use my app name and as mentioned earlier it's important to not hard cored its value. You fixed it - thank you! But didn't add the step for setting value for variable into Default branch: Basically, I don't think you need this branches at all - you can just set the variable value dynamically from the info that came from SharePoint. Could you please update the solution and I'll review it. Thank you! BR, |
Removed the switch case from the flow.
|
Hello @Katerina-Chernevskaya Switch case (branches) is removed. The variable value dynamically added from the info that came from SharePoint. I have updated the solution and submitted the pull request again. Kindly have a look, thanks! |
Katerina-Chernevskaya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vipulj03 ,
Thank you for the update! I made a minor change in the flow code - nested the Apply to each value into array, because this action expected array and failed until I nested the code into the array function.
I also updated the Readme file to aligned with the template.
I'm going to merge the sample. Thank you for your contribution and time!
Kate Ch.










What's in this Pull Request?
This sample is a Power Automate cloud flow that can be used to automate sharing of a canvas app.
Checklist