ltwlf / Microsoft-Flow-Create-Team-Connector

Things that Microsoft has forgotten in Flow - Create a Team ;-)
GNU General Public License v3.0
17 stars 7 forks source link

Installation Step 1 - more information #2

Closed bernardw1 closed 6 years ago

bernardw1 commented 6 years ago

Thank you for creating this Flow connector. It should be really nice to use.

I was wondering if you could add a bit more information to the installation Step 1 > Register App in Azure Portal I am guessing this app needs to be in portal found at https://apps.dev.microsoft.com

It looks like we should skip the Guided creation.

The application ID and the Application Secret can be found at the top of the next page image

bernardw1 commented 6 years ago

Well coming back to this after a while to see if I can get it working. I am able to get it working but the steps are now a bit different then they were originally (thanks MS for changing things again)

To create the Azure APP

go to the Azure Portal https://protal.azure.com Go to Azure Active Directory Go to App Registrations Create a new Application Registration image

Just fill anything in for the Sign-on URL for example https://test.com

Create the app.

in the new App click on Settings Go to required permissions click Add Select an API > "Microsoft Graph" Select Permission > scroll down and add the permission for "Read and write all groups" image click on "Grant Permissions"

Go to Settings>Keys> Create a new key (add a description), click save and copy the value (make sure to keep this safe it will be needed later).

Go to Settings > properties > Copy the Application ID, this will also be needed later

After finishing step 2 you will need to copy the "Reply URL" from there and add it to Settings>Reply URLs> so that the application can be authenticated.

Larryngolog commented 6 years ago

I recommend adding also permissions "access user's data anytime" so your token would be refreshed automatically after it expires after one hour.

ltwlf commented 6 years ago

@Larryngolog is right. This should do the trick!

bernardw1 commented 6 years ago

@ltwlf The issue is not that that setting is wrong. the issue that I created this thread for was that the initial documentation was not complete enough to know what steps needed to be taken to get the azure AD stuff setup. That is the reason I created the thread, to help other people setup the application and know where to go to do it.