How to copy onedrive files to another onedrive files

To off-board office 365 users so that run termination process, we  consider which data should store and how to do it.

Today let me share how to copy someone who will terminate their onedrive for business folder’s data to specific user’s office 365 onedrive folders. [I did referenced it by this link from technet.]

If we copy and paste and run code in the powershell ise, we will get error like below.

Then you can also get error like below.

So you can’t run it smoothly as you want, but if you want to run it smoothly, please go to powershell gallery, then you can change cmdlets to “Reslove-PnPFolder” instead of “Ensure-PnPFolder”, then it works well.

And you need to know before run script, there are some limitations when the file size exceeds 250MB, it should move files as manually.

I will upload full code to specific location when I find adequate repository.

Check Office 365 services provisioning status

Hi, Today I’ll introduce how to check office 365 services are provisoned or provisioing. When we assign new licenses to office 365, services related to license are provisioned, sometimes it takes time half an hour or 1 day, so if you can see status of provision of services related to office 365 licenses, it may help to check the current status and what services you can use or you can’t use.

If  you use Get-MsolUser cmdlet, you can use then check services status.

Example)

PS C:\> (Get-MsolUser -UserPrincipalName test@ysah.org).Licenses[0].ServicesStatus

pending3.png Above this Service status  said , Exchange_S_STANDARD is PendingInput , it means if you start outlook under OWA, you can see below message “Error: You cannot open mailbox, it may the mailbox license was expired, so if you check how to get access authority of this mailbox, you ask your mail administrator” exchangeError.png If it takes time , when you check service status, you can see most of services are success to open it.provision2.png

I hope you can reference this link to check services status which you recently assigned. https://blogs.technet.microsoft.com/cloudpfe/2013/12/27/how-to-tell-which-office-365-services-have-been-provisioned/

I

Office 365 Deployment for office 2016 Creation

Hi, Today I’ll introduce how to make office 2016 fille for office 365 deployment to share users as network drive. Recenltly as you know Microsoft introduced and changed to streaming install using click to run, but in this case it is beneficial to have enough bandwith I think, but on the network bandwith as company , it is not good solution. So as to distribute this tools for users, you have to make office 365 ProPlus , if you see documents, plesae move to here. https://technet.microsoft.com/en-us/library/jj839718.aspx

Procedures

  1. You can download Office 2016 Deployment tool , if you execute it then it needs to select folder to extract setup.exe and configuration.xml
  2. You can make configuration configuration.xml referenced by configuration options for the office Deployment tool (Link), in my case updated below  , I just want to make  32bit office 365 proplus for office 2016 with as language of Korea to see the status of installing with progress bar, completion screens, error messages, or other user interface are disabled. And the user does not see a Microsoft Software License Terms dialog box anymore , to define how office is updated after it’s installed.        <Configuration>
    <Add SourcePath=”s:\O365_2016\setup\” OfficeClientEdition=”32” >
    <Product ID=”O365ProPlusRetail“>
    <Language ID=”ko-kr” />
    </Product>
    </Add>
    <Updates Enabled=”TRUE” UpdatePath=”s:\O365_2016\setup\” />
    <Display Level=”Full” AcceptEULA=”TRUE” />
    </Configuration>
  3. Open Command Prompt as administrator mode, then move to that folder to download installer file using setup.exe /download configuration.xml , if you execute it, it download full installation file to that folder.
  4. When completes to download full package to install, you make batach file to execute with /configure option, it describes setup.exe mode on the inline imagemode-for-odt, I made batch file using setup.exe /configure configuration.xml , then I distributed to our network folder to users.

If you do go on Office 2016 Deployment Guides for Admins (Link), then read full of it, and you can make your own office 365 proplus

 

Exam 70-346 : Managing Office 365 Identities and Requirements

Hi, I recently have taken exam about 70-346 (Managing Office 365 Identities and Requirements) then one MCP passed it , during taking exam I felt it’s so hard to answer questions, because office 365 product development is so fast to follow, so the exam which I took , it is also reflecting,

In case of me ,  “Plan and Implement Networking and Security in Office” is hard , suddenly I felt it’s good resource to take exam using “Office 365 for IT Pros”, I’m in progress to take another MCP as 70-347 (Enabling Office 365 Services), if I read all contents of this book, apprently it’s so helpful to take exam and understand office 365 more than now.

I’ve already purchased it, I’m reading Chapter4: Migrating to Office 365. I suggest you to read this book before taking exam for office 365 MCP to acquire MCSA for Office 365.

 

 

Client Object model and Rest API-JavaScript Apps (1)

To create apps using Visual Studio 2015 Community, you need to make sure create sharepoint teamsite as developer site. We should make apps on developer site, then it need to deploy to app store. If you use not developer site but teamsite, on debugging , you can meet error as “Error occurred in deployment step “Install SharePoint-Add in’ : Sideloading of apps is not enabled on this site.”

Today I’ll show how to create javascript apps on online sharepoint

Create new project on visual studio 2015 communtiy

  1. Open Visual Studio 2015 community as administrator
  2. Make new project , select to Office Add-ins as “SharePoint Add-In” as name of JavaScriptDemo2createnewproject
  3. You need to input “What SharePoint site do you want to use for debugging your add-in?” to sharepoint developer site, and also select “SharePoint-hosted”newSharePointAddIn
  4. You need to select “SharePoint Online” on the Specify the target SharePoint versionspecifiyTheTargetSP
  5. It creates “JavaScriptDemo2” project as automatically

See around project which you created.

You can see Default.aspx page , it have SharePoint Script as “sp.js” , jquery and app.js.

Let me explain those components.

SP.ClientContext object (sp.js) : Represents the context for objects and operations.ClientContext constructor  initializes a new instance of the ClientContext object for the specified SharePoint site.

app.js : you can add javascript code and jquery code also

Let’s do it as easy example.

Create button on Default.aspx as Html Tag inputButton

Move to App.js then remove all scripts except ‘use strict’ on top of this script.appJsSc

After you save all changes then you need to “Execute” Button on Visual Studio, you can see deployed apps on this sharepoint like below. defaultPage

If you click “Load” Button, you can show below site as changed to message as “JavaScriptDemo1”AfterClickButton.png

This post which I recently uploaded to this blog to study online sharepoint as client object model. Since now I’ll create and concentrate on online sharepoint development

 

Exchange Server 2013 Setup prompts error

If I setup exchange server 2013 on VM on windows server 2012 R2 , it prompts error below , like Mailbox role: Transport service, so I will reference it this document, it explain needs to remove and reboot then remove ad users related to exchange on active directory, then rein stall it. I’ll try it whether resolve or not.

https://kickthatcomputer.wordpress.com/2013/02/28/exchange-server-2013-setup-fails-creating-mailbox-role/

error

Active Directory synchronization 구성하기

안녕하세요. Office 365 구성을 할 때, OnPremise Server AD를 기준으로 하여,  OnPremise AD User 등을 Office 365 Azure Directory에 동기화를 하여 구성을 할 수 있습니다.

구성을 하기 위해서는 Office 365 Admin Portal에서 Users => Activate Users로 이동하여 , Active Directory synchronization의 Setup을 클릭하면, [저의 경우는 이미 구성을 하여서, Manage 항목이 보이지만, 처음 구성의 경우, Set up 이라는 항목이 보입니다.]

ADSync_Enable 구성을 할 수 있습니다.

OnPremise AD와 Cloud AD를 원격으로 구성하기 위해서는 OnPremise의 EnterPrise Admin 계정의 정보[Active Directory Domain Service와 연결시 필요]와 Office 365 Global Admin [Azure AD 연결시]계정 정보가 필요합니다.  Windows Server 2012 R2 Evaluation version VM에 설치를 하였으며,

DirSync를 설치하여 구성을 하려고 Forefront  Identity Management , SQL 2008 구성 요소, SQL Server 등이 필요 했는데, Office 365 Admin Portal에서 Active Directory synchronization Setup을 하면 , Azure AD Connect를 설치하면, SQL Server component등을 모두 다운 받아, 굳이 따로 준비하지 않아도 될 만큼, 설치가 가능하다.

이미지 1.png

synchronization engine을 설치, Azure Active Directory Connector를 구성, 도메인 connector를 구성, Password Synchronization도 구성하게 되며, Auto Upgrade 및 컴퓨터에 설치된Synchronization serives를 위하여 Full Sync 등을 할 수 있다. 이미지 7.png

Azure AD Connect가 설치된 PC에서 Synchronization serivces를 실행하여, Full Sync를 하면,  OnPremise AD의 계정들이 모두 동기화 되어, 보여진다.

AfterFullSyncToCloud

DirSync 또는 AAD Connect를 위한 OnPremise AD Synchronization은 생각보다는 작동의 원리 등을 이해하면, 쉽게 구성이 가능합니다.  지금 하고 있는 것 중에 하나는 OnPremise Exchange Server Mailbox를 Cloud에 등록하는 것도 진행을 해보려고 합니다.  그리고 다시 ADFS도 마저 구성을 해봐야 할 것 같네요.. 최근에 구매한 공인된 SSL, Domain 등을 이용하여 구성을 하다보면, Office 365 Admin으로서 알아가야 할 내용 등에 조금더 다가갈 수 있다고 생각합니다.

Office 365 Role

Office 365 Role을 살펴보면,

Global Administrator , Billing administrator, Exchange administrator, Password administrator, Skype for Business administrator, Service administrator, Sharepoint administrator, User management administrator가 존재합니다.

Global Administrator는  Office 365 Tenant를 생성하면, 생성자에게 Global Administrator 권한이 부여됨. Exchange, SharePoint, Lync 등의 Full 권한을 가지고 있음. Admin Center안에 있는 모든 권한을 갖고 있음.

Global Administrator이 갖고 있는 Permissions은 아래와 같습니다.

  1. View Org and User Info
  2. Manage Support Tickets
  3. Reset User Passwords
  4. Perform billing and purchasing
  5. Create and Manage user views
  6. Create Edit and Delete Users, Groups
  7. Manage Licenses
  8. Manage Domain
  9. Delegate Admin Roles
  10. User Directory Synchronization

Billing Administrator는 아래의 권한을 갖고 있다.

  1. View Org and User Info
  2. Manage Support Tickets
  3. Perform billing and purchasing

그렇다고 Exchange, SharePoint, Lync 등의 권한을 갖고 있지 않다. Office 365 Administration Center를 보면, Users, Groups 어디에도 추가할 수 있는 권한을 갖고 있지 않으며, Purchase Services로 이동하여, Buy now를 하여, Office 365 라이선스 구매가 가능하다.

billingadmin

User Management Administrator

User Management Administrator는 View Org and User Info, Manage Support Tickets, Reset User Passwords (Non Admins only), Create and Manage user view, Create Edit and Delete Users, Groups (Non Admins only)의 권한을 갖고 있다. Billing Administrator의 Office 365 Admin page의 경우, 비슷한 화면을 보여지지만, Users , Groups 등을 펼쳐보면, 계정 생성 및 그룹 생성이 가능하다. DirSync and ADFS를 사용하는 경우에는 User Management가 의미가 없다. 모든 정보가 Internal에서 External로 Replicate 되기 때문에, User Management는 Cloud Base기반에서는 활용 가능성이 높다.

Service and Password Administrators

View Org and User Info, Manage Support Tickets, Reset Users Password (Non Admins only)의 권한을 갖고 있다.

Service Administrator Permissions

View Org and User Info , Manage Support Tickets 권한을 갖고 있다.

모든 내용은 아래 그림을 보면, 좀 더 쉽게 이해가 가능하다.

ReviewOfRoles.png

 

 

 

 

 

 

텐서 플로우 블로그 (Tensor ≈ Blog)

머신러닝(Machine Learning), 딥러닝(Deep Learning) 그리고 텐서(Tensor) 또 파이썬(Python)

Jaap Wesselius

Microsoft UC Specialist

Office365 Cloud for My site

Office365 & SharePoint & PowerShell