cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AllanMartins
Level: Powered On

"This app is not authorized to access this service. Try reopening the app" Error started suddenly

Hi all,

 

We have a PowerApp (Flow/Sharepoint/SQL) running for over 2 months, no problems, but today, for no reason, a Flow is triggered from the PowerApp, the following message is displayed:

 

The service returned an error: SQL-Insert!Run: This app is not authorized to access this service. Try reopening the app and ensure all connections have been resolved - error-sql_insert.PNG.

 

As SQL-Insert is the name for the Flow which is basically:

 

PowerApp (Trigger) -> Compose ("@formatDateTime(utcnow(), 'g')") -> SQL Insert (ComposeResult, UserName from PowerApp)

 

(1 trigger, 2 simple steps)

 

 

 

On-Prem gateway services has been restarted, all working without problems. Also, I did checked the permissions on:

 

Gateway

Connection/Service

PowerApp

 

And it is set for all corporate users to "Use" - nothing changed from the past month...

 

Nothing was changed, I tried recreating the Flow, reassigning its permission to the flow, and even, removing and adding all permissions to all services again... no results... any idea?

1 ACCEPTED SOLUTION

Accepted Solutions
AllanMartins
Level: Powered On

Re: "This app is not authorized to access this service. Try reopening the app" Error start

 

Hi @v-yamao-msft, I tried that and the problem persists.

 

I have recreated the connection to all the services, and the problem happens the same way.

 

We were able to workaround this problem by:

- saving the already created App to my computer (local)

- creating a new user account;

- assign a PowerApps/Flow license;

- reconnect to all services;

- open the App from the computer, but using the new account

- recreate all the connections - just like I already tried, but using that same (old) account

- Save and Publish the App

 

Ta-da!

 

It worked.

 

Is there a way I can pull out logs from the PowerApps/Services to troubleshoot?

 

 

View solution in original post

5 REPLIES 5
AllanMartins
Level: Powered On

Re: "This app is not authorized to access this service. Try reopening the app" Error start

Here is an update: I have managed to move all data from the SQL  to a Sharepoint List, so I could manage it without the Flow, but part of the process is another Flow that sends "Approval Emails", and now that the Data problem is solved, I receive the alert for the Email Flow. I have added the permission to all users to use all the connections, but it simply doesnt work.... any idea? Was there any change from yesterday to today?

 

thank you,

Community Support Team
Community Support Team

Re: "This app is not authorized to access this service. Try reopening the app" Error start

Hi AllanMartins,

 

Are you still having the issue on your side?

 

I create a flow according to your description, the flow is configured looks like below. When I click the button to run the flow, the flow runs succeed.

4.PNG

 

I am not sure if this is a temporary issue. Please try it on your side and if you are still having this issue, please feel free reply.

 

Best regards,

Mabel Mao

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.
AllanMartins
Level: Powered On

Re: "This app is not authorized to access this service. Try reopening the app" Error start

 

Hi @v-yamao-msft, I tried that and the problem persists.

 

I have recreated the connection to all the services, and the problem happens the same way.

 

We were able to workaround this problem by:

- saving the already created App to my computer (local)

- creating a new user account;

- assign a PowerApps/Flow license;

- reconnect to all services;

- open the App from the computer, but using the new account

- recreate all the connections - just like I already tried, but using that same (old) account

- Save and Publish the App

 

Ta-da!

 

It worked.

 

Is there a way I can pull out logs from the PowerApps/Services to troubleshoot?

 

 

View solution in original post

Community Support Team
Community Support Team

Re: "This app is not authorized to access this service. Try reopening the app" Error start

Hi AllanMartins,

 

Thanks for sharing with us the workaround, and I am glad to hear that the workaround works for you.

 

It seems that we don’t have a way to pull out logs from the PowerApps. I guess that you could consider to use Fiddler Trace to monitor the actions.

 

 

Best regards,
Mabel Mao

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.
naanireddy
Level: Power Up

Re: "This app is not authorized to access this service. Try reopening the app" Error start


@AllanMartins wrote:

 

Hi @v-yamao-msft, I tried that and the problem persists.

 

I have recreated the connection to all the services, and the problem happens the same way.

 

We were able to workaround this problem by:

- saving the already created App to my computer (local)

- creating a new user account;

- assign a PowerApps/Flow license;

- reconnect to all services;

- open the App from the computer, but using the new account

- recreate all the connections - just like I already tried, but using that same (old) account

- Save and Publish the App

 

Ta-da!

 

It worked.

 

Is there a way I can pull out logs from the PowerApps/Services to troubleshoot?

 

 


I was encountering this very same app not authorized error however got it solved using your method. Thank you so much for the solution @AllanMartins. I appreciate it Smiley Happy

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 377 members 5,166 guests
Please welcome our newest community members: