cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate V
Advocate V

PowerApps Connector unauthorized error

Dear all,

 

I have tried to setup a Logic App flow which has a very simple purpose.

 

A user fills in a SharePoint list item. Eventually, the user changes the status of that item to "Submitted".

The Logic App should notify the manager if this manager hasn't approved the item after two weeks.

Therefore I am sending an e-mail message from within the Logic App and also I want to send a PowerApps notification.

 

All works, except the PowerApps notification. It is continuously giving me the error "Unauthorized".

 

First I have reported this issue to the PowerApps Community: https://powerusers.microsoft.com/t5/Creating-Apps/PowerApps-Push-Notification-error/m-p/202045#M6797

So far no luck. A member of this community has suggested me to submit my query on this Flow Community.

 

I notice that when adding the action "PowerApps Notification" I should only enter the Connector Name (which I can name myself) and the App ID. So... somehow, it is already authenticated to PowerApps? But how? And where can I see the account used for authenticating the API?

For all other built-in connectors such as Outlook - Send an email, it is pretty straight forward which account is being used to authenticate. But I cannot make this up for the PowerApps Notification action.

 

Another thing to mention: when I create a blank flow from within my personal Microsoft Flow account, all works fine. But from within the Logic App I cannot seem to get it to work. Therefore I would also like to verify which account is being used while authenticating, to verify if it has a correct license.

 

I am not sure if this would be the cause of the issue by the way. The only thing Logic App is telling me is "unauthorized", nothing more.

 

I have attached two images, hopefully they give you more useful information.

 

Thanks for any help provided.

 

Kind regards,

Joost

 

Logic Apps error.pngLogic Apps screenshot.png

3 REPLIES 3
Community Support
Community Support

Hi @jvdlinden,

 

Thanks for reaching us and providing the detailed information.

PowerApps is now an available connector for Microsoft Flow but not available for Azure Logic App.

Please check the following docs on available connectors for Azure Logic Apps and Microsoft Flow:

Connectors for Azure Logic Apps

List of supported connector for Microsoft Flow

More details on PowerApps Notification (Preview) at here:

https://docs.microsoft.com/en-us/connectors/powerappsnotification/

So if you would like to send a push notification to PowerApps, you will have to use Microsoft Flow instead of Azure Logic Apps.

Hope it would be helpful.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


@v-yamao-msft wrote:

Hi @jvdlinden,

 

Thanks for reaching us and providing the detailed information.

PowerApps is now an available connector for Microsoft Flow but not available for Azure Logic App.

Please check the following docs on available connectors for Azure Logic Apps and Microsoft Flow:

Connectors for Azure Logic Apps

List of supported connector for Microsoft Flow

More details on PowerApps Notification (Preview) at here:

https://docs.microsoft.com/en-us/connectors/powerappsnotification/

So if you would like to send a push notification to PowerApps, you will have to use Microsoft Flow instead of Azure Logic Apps.

Hope it would be helpful.

 

Best regards,

Mabel


@v-yamao-msft

 

What I find interesting. This evening I noticed that the PowerApps actions seem to be removed completely from Logic Apps. I have also submitted a Service Request to O365 team and they have routed the case to Logic Apps team. Looks like it they have removed it from the UI. Can you confirm if this is true? At least this eliminates confusion.

 

logic apps - powerapps.png

 

 

For the time being, I have configured the Logics App to create a list item in a separate SharePoint list. And indeed, I have configured a Microsoft Flow to trigger based on item creation in this list, and send the PowerApps Notification from there. This is a temporary workaround that actually works.

Hi @jvdlinden,

 

Please check the following blog on 10 things in Microsoft Flow that isn’t in Azure Logic Apps which is written by John Liu:

http://johnliu.net/blog/2018/7/10-things-in-microsoft-flow-that-isnt-in-logic-apps

From this blog we could know that Flow has a PowerApps trigger (and response) that can send structured JSON data to and from PowerApps. However, LogicApps has to publish custom connector (which can then be used in Flow and PowerApps).

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (14,961)