Blog

How to Recover a Deleted File in SharePoint – Quickest way to Sharepoint recycle bin

You can stuff around and go site setting > site contencts  > recycle bin > blah blah blah click click click or just punch in the url to correspond to your tenancy.

** has to be turn on in the first place though and you have to be the poor admin that has to fetch that accidental deleted file  **

https://your0365Tenancy.com/_layouts/15/AdminRecycleBin.aspx?view=5

 

select file > Right Click  > restore

 

You can add Calendar Permissions Using Powershell for users using the following command

1#
$UserCredential = Get-Credential

2#
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic –AllowRedirection

3#
Import-PSSession $Session

4#
Get-MailboxFolderPermission user1.name:\calendar

#5
Add-MailboxFolderPermission user1.name:\calendar –user user2.name –accessrights reviewer
(ie above gives user2 reviewer rights to user1 calendar )

#6
Set-MailboxFolderPermission user1.name:\calendar –user user2.name –accessrights editor
(Replacing user.name with the user’s usernames)

#7
Remove-MailboxFolderPermission user1.name:\calendar –user user2.name

#8
Remove-PSSession $Session

 

 

Send on behalf of etc

 

if user2 needs to access user1’s calendar

Add-MailboxFolderPermission -identity “user1:\calendar” –user “user2” -AccessRights Reviewer

the same can be done to give permission to a security group

Add-MailboxFolderPermission -identity “user1:\calendar” –user “DomainName\securitygroup” -AccessRights Reviewer

Below is the list of access rights and explanation

None                                      FolderVisible
Owner                                    CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
PublishingEditor                  CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
Editor                                      CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
PublishingAuthor                 CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, DeleteOwnedItems
Author                                   CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
NonEditingAuthor                CreateItems, ReadItems, FolderVisible
Reviewer                                ReadItems, FolderVisible
Contributor                     CreateItems, FolderVisible

Add-RecipientPermission user1@domain.com -AccessRights SendAs -Trustee user2@domain.com

Add-RecipientPermission user1@domain.com -AccessRights SendAs -Trustee user2@domain.com

 

Powershell AD-Sync

For my future reference – force AD sync to o365

 

1 #  start-adsyncsynccycle -policytype delta

  

2 #   start-adsyncsynccycle -policytype Initial

 

3  #

$adConnector  = “exampledomin.com”

$aadConnector = “exampledomain.onmicrosoft.com – AAD”

Import-Module adsync

$c = Get-ADSyncConnector -Name $adConnector

$p = New-Object Microsoft.IdentityManagement.PowerShell.ObjectModel.ConfigurationParameter “Microsoft.Synchronize.ForceFullPasswordSync”, String, ConnectorGlobal, $null, $null, $null

$p.Value = 1

$c.GlobalParameters.Remove($p.Name)

$c.GlobalParameters.Add($p)

 

$c = Add-ADSyncConnector -Connector $c

 

Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConnector $aadConnector -Enable $false

 

Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConnector $aadConnector -Enable $true

 

Adobe Premiere CC 2018 wont open on a MAC

Ran into this issue today –

First,  I tried :

Search for and open “Activity Monitor” then close all of the Adobe applications in Activity Monitor.

Search for and open “Finder” , click on Go tab and select > Go to Folder.

 

Location 1: In the box type ~/Library/Application Support.

Location 2: In the box type ~/Library/Preferences.

Location 3: Documents folder

Renamed the ‘Adobe‘ folders to ‘OldAdobe

 

Launch Premiere Pro, accept the License Agreement and see if it works.

Note: You will lose your customized workspaces and keyboard shortcuts.

 

This didn’t work for me 🙁 but doing the following did 🙂

 

Open finder > Go tab > Go to Folder

Type “~/Library” and click Go.

Go to /Library/Caches/Adobe/Premiere Pro/12.0

Delete the “Typesupport” folder

 

Then Premiere opened and stayed open and loaded.