Monday, October 28, 2013

SharePoint Open PDF in Browser

Occasionally we get a user asking us why a PDF prompts to be saved instead of opening when they click on it from a website in a browser, any browser, not just IE or FF.


The answer is 50% because of an Adobe setting and 50% because of an Internet Explorer setting.

FireFox and Chrome do not have the browser issue, only IE requires the site name with the PDF be added to Trusted Sites.


The IE setting:
Add the site in question to the Trusted Sites list.
In IE, choose Tools > Internet Options and add the site to the Trusted Sites list.
Restart the browser.


The Adobe setting:
It is important that you have the latest Adobe software first off. Check the Taskbar icon to see if an Adobe update is pending. Often times an update to Adobe is already queued up and pending the user to just click the little A icon in the taskbar and continue the update.
Next is the critical piece of this "Open in browser" puzzle.

Open Adobe (either by "Start > All Programs > Adobe" or by just opening a PDF stored on the computer.
Then edit the preferences and assure the Checkbox is CHECKED for Display PDF in Browser:
From the Menu, click EDIT > Preferences

Then Check the box and close and close and reopen the browser.



Close the browser and reopen it.



Test, issue should be resolved.

Tuesday, October 1, 2013

How to configure passwords to never expire in O365

Install the Windows Azure AD Module

You must install the appropriate version of the Windows Azure AD Module for Windows PowerShell for your operating system from the Microsoft Download Center:
Windows Azure Active Directory Module for Windows PowerShell (32-bit version)
Windows Azure Active Directory Module for Windows PowerShell (64-bit version)

Start the Windows Azure Active Directory Module for Windows PowerShell


Connect to Windows Azure Active Directory

Type connect-msolservice …and log in with your admin account
Review: the TechNet Article for a list of available commands
http://technet.microsoft.com/library/jj151815.aspx

Run the following command to GET a specific user's Password Expiration Policy:
Get-MSOLUser -UserPrincipalName user@company.com | Select PasswordNeverExpires

Run the following command to GET ALL User's Password Expiration Policy:

Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires
Run the following command to SET a User's Password Expiration Policy:

Set-MsolUser -UserPrincipalName [user@company.com -PasswordNeverExpires $true



TIP: if you love Get-Help then you will need to add it: 

To create a folder for help, list the cmdlets, and then open the file in notepad, you can run the following commands at the Windows PowerShell command prompt:
new-item c:\MSOLHelp -type directory
get-command | Where-Object {$_.name -like "*msol*"} | format-list | Out-File c:\MSOLHelp\msolcmdlets.txt
notepad c:\MSOLHelp\msolcmdlets.txt