Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
v0.7.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rykoma committed Sep 22, 2016
1 parent a38f9e7 commit 87e0594
Show file tree
Hide file tree
Showing 6 changed files with 250 additions and 26 deletions.
4 changes: 2 additions & 2 deletions Office365APIEditor/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.7.4.0")]
[assembly: AssemblyFileVersion("0.7.4.0")]
[assembly: AssemblyVersion("0.7.4.1")]
[assembly: AssemblyFileVersion("0.7.4.1")]
76 changes: 58 additions & 18 deletions Office365APIEditor/StartForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Office365APIEditor/StartForm.cs
Expand Up @@ -945,5 +945,15 @@ private void linkLabel_WebApp_LinkClicked(object sender, LinkLabelLinkClickedEve
{
System.Diagnostics.Process.Start("https://github.com/Microsoft/Office365APIEditor/blob/master/tutorials/How_to_register_a_V1_Web_application.md");
}

private void linkLabel_NativeApp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/Microsoft/Office365APIEditor/blob/master/tutorials/How_to_register_a_V1_Native_application.md");
}

private void linkLabel_WebAppAppOnly_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://github.com/Microsoft/Office365APIEditor/blob/master/tutorials/How_to_register_a_V1_Web_application_for_App_Only_Token.md");
}
}
}
35 changes: 35 additions & 0 deletions tutorials/How_to_register_a_V1_Native_application.md
@@ -0,0 +1,35 @@
# How to register a V1 Native application

This tutorial introduces how to register the application using Microsoft Azure portal.
Once you registered an application by following this tutorial, you can use it as a "Native application" in Office365APIEditor.

1. Go to https://manage.windowsazure.com/ and sign in using your administrator account of Microsoft Azure.

2. Click [Active Directory] in the left panel.

3. In [DIRECTORY] tab, select the name of your organization.

4. In [APPLICATIONS] tab, click [ADD] at the bottom.

5. Click [Add an application my organization is developing].

6. Enter the name of your application. (e.g. MyNativeApp)

7. Select [NATIVE CLIENT APPLICATION] and go to the next page.

8. Enter the redirect URI of your application in [REDIRECT URI] box. (e.g. http://localhost/MyNativeApp <- Whatever is fine.)

9. Click [Complete].

10. In [CONFIGURE] tab, Go to [permissions to other applications] section and add the necessary permissions for your application.
If your application has to read the messages in users mailbox using Office 365 API (outlook.office.com), you have to add the [Read user mail] permission under [Delegated Permissions] of [Office 365 Exchange Online].
If your application has to read the messages in users mailbox using Graph API (graph.microsoft.com), you have to add the [Read user mail] permission under [Delegated Permissions] of [Microsoft Graph].

11. Click [SAVE] at the bottom.

13. Check the following values and use them in Office365APIEditor.

| Value in Azure portal | Textbox in Office365APIEditor |
|:----------------------|-------------------------------|
|CLIENT ID |Client ID |
|REDIRECT URI |Redirect URL |
12 changes: 6 additions & 6 deletions tutorials/How_to_register_a_V1_Web_application.md
Expand Up @@ -23,7 +23,7 @@ Once you registered an application by following this tutorial, you can use it as

10. Click [Complete].

11. In [COFIGURE] tab, go to [Keys] section and select the duration of the key. (e.g. 2 years)
11. In [CONFIGURE] tab, go to [Keys] section and select the duration of the key. (e.g. 2 years)

12. Go to [permissions to other applications] section and add the necessary permissions for your application.
If your application has to read the messages in users mailbox using Office 365 API (outlook.office.com), you have to add the [Read user mail] permission under [Delegated Permissions] of [Office 365 Exchange Online].
Expand All @@ -33,8 +33,8 @@ If your application has to read the messages in users mailbox using Graph API (g

14. Check the following values and use them in Office365APIEditor.

| Value in Azure portal | Textbox in Office365APIEditor |
|:----------------------|-------------------------------|
|SIGN-ON URL |Redirect URL |
|CLIENT ID |Client ID |
|key in [Keys] section |Client Secret |
| Value in Azure portal | Textbox in Office365APIEditor |
|:----------------------|-------------------------------|
|SIGN-ON URL |Redirect URL |
|CLIENT ID |Client ID |
|key in [Keys] section |Client Secret |

0 comments on commit 87e0594

Please sign in to comment.