Posts

Showing posts with the label Office 365

Change "Send From" email account in "Send approval email Action" in MS Flow

Image
Currently "Send approval email Action" doesn't provides "From" email address option to change the send from email account in MS Flow. However, you can change it by following steps.  Firstly, you add the email account which used as "Send From" in your work flow's "Owner" section. It's located on the right bottom of the flow setting's page as below screen shot. Secondly, login to "MS Flow" with above email account, and then click on the work flow, and then click on "Edit" button. Once you open the flow design page, click on the "Send approval email Action" and then click on the "..." on the header of the action like below sample screen shot. Pick up the email account under "My connections". save the changes. Now you should see the work flow email send from the email account setup as above.

Force to open a SharePoint Online Word document using Word desktop application directly from Flow

Image
I need to open the word document which saved in a SharePoint document library using Word desktop application not Word Online when click on the link of the document in Flow's notification email. By default, the link of the document was opened in the Word Online in browser. I found out a way to use the "ms-word:ofe|u|" before the file URL, e.g."ms-word:ofe|u|https://docUrl", and now I can open the document in Word application directly. Note: The "Link to item" in Flow contains Guid after the file URL, and you need to remove it from the link URL. I am using the function "concat('ms-word:ofe|u|',substring(triggerBody()?['{Link}'],0,int(indexOf(triggerBody()?['{Link}'],'.docx'))),'.docx') " in a variable action and so I can use it in the Flow anywhere. You can open file using Excel or PowerPoint too, for more "Office URI Schemes" please see https://msdn.microsoft.com/en-us/library/office/...

Resolve error "AADSTS50012: Invalid client secret is provided" in MS Flow's HTTP connector

Image
I need to use HTTP connector in Microsoft Flow work flow to get the access token from SharePoint Online. I followed the article " Access SharePoint Online using Postman " to register the app and get the client id, client secret and tenant id. I composed the "body" section and added headers key to "HTTP" connector, and then submit the work flow by adding a new file to document library. However, it was failure with error "AADSTS50012: Invalid client secret is provided". Finally, I found out the issue is related to the none encode string of client secret value, and so I use "Variable" connector to save the client secret and other values, and used function "encodeUriComponent(...)" to encode the client secret value. The issue was gone and the HTTP call was successful to get the access token. The configuration of HTTP connector is as below screen shot. Courses for further study : Learn how to use Microsoft Flow and th...

Connect your personal device to "Cloud"

"Cloud" is a popular word in our daily life. It means the new computer architecture - using service provider's computer equipment instead of your own. It allows a person or a business to forget about technical details like whether a hard drive is big enough and puts that concern on another party. Microsoft, Apple, Google, Amazon Web service and others provide such software applications and hosting space for end users to access those applications through a web browser or a light-weight desktop or mobile app. For example, Microsoft provides Office 365, combining the latest versions of the Office applications (Word, Excel, Outlook, etc) with additional features such as SkyDrive storage and Skype world minutes for family and business to access their common Office functions and emails stored on the remote servers. It helps the family to share documents, photos and emails in distance areas.The Microsoft SharePoint Online helps business to build their collaborati...