Quantcast
Channel: TechNet Blogs
Viewing all 36188 articles
Browse latest View live

Azure AD Connect アップグレード手順

$
0
0

こんにちは。 Azure Identity サポートの谷です。

Azure AD Connect (AADC) のアップグレード手順をご紹介いたします。
AADC の更新バージョンのリリース頻度は高く、この 3 カ月でも 3 回更新バージョンがリリースされています。
更新には、既知の不具合やセキュリティに関する修正に加えて機能強化も含まれています。

そのため、できるだけ安定して AADC を運用いただくうえで弊社としての推奨は以下となります。
- 最新バージョンの利用
- 最低でも 6 カ月毎に最新バージョンへのアップグレード

 

Azure AD Connect: バージョンのリリース履歴
https://docs.microsoft.com/ja-jp/azure/active-directory/connect/active-directory-aadconnect-version-history

 

なお、サポートという観点では、リリースされている全てのバージョンの AADC が現在サポート対象となります。
特定のバージョンの AADC をサポート終了する場合にはアップグレードを実施いただくために十分な期間を設け、ご案内いたしますので、ご安心ください。

(トラブルシューティングなどの中で古いバージョンをご利用されている場合に切り分けのためのバージョンアップをお願いする、より詳細な調査をするためにも、まずアップグレードをお願いするという可能性があることについては予めご承知おきください)

 

■ アップグレードの流れ
AADC 1 台構成の場合
----------------------------------------
A. バージョンアップ前にサーバーの健全性確認
B. 設定情報 / ルールのバックアップ
C. アップグレード

 

AADC 2 台以上の構成の場合
----------------------------------------
1 台構成の場合と同様でも構いませんが、より慎重に行う場合には、バージョンアップ時に片方ずつステージング モードに切り替え、同期処理に影響を与えないように実施することも可能です。この場合には、下記の流れで実施します。

A. バージョンアップ前に両サーバーの健全性確認
B. 設定情報 / ルールのバックアップ
C. 1 台目アップグレード
D. ステージングモードの切り替え
E. アップグレード後の動作確認
F. 2 台目のアップグレード
G. ステージングモードの切り替え
H. アップグレード後の動作確認
I. 必要に応じてステージングモードの切り替え

 

■ 手順
アップグレード手順
--------------------------------------------------
弊社環境にて 1.1.819.0 から 1.1.880.0 にアップグレードを行った際の手順を纏めさせていただいています。
aadc-upgrade (PDF)

ステージング モード設定手順
--------------------------------------------------
弊社環境にて 1.1.819.0 にて実施した手順を纏めさせていただいています。
staging-mode (PDF)

 

健全性確認
--------------------------------------------------
1. AADC サーバーにてイベント ログ (システム / アプリケーション) にてエラーや警告などの記録がないことを確認します。
2. Synchronization Service Manager にて同期処理にて success 以外の記録がないことを確認します。

 

設定情報 / ルールのバックアップ
--------------------------------------------------
<設定情報の記録>
1. Synchronization Service Manager を起動します。
2. [Connectors] を選択します。
3. オンプレミス AD のコネクタを右クリックし、[Properties] をクリックします。
-- 同期対象 OU/コンテナの確認 --
4. [Configure Directory Partitions] - [Containers] をクリックします。
5. パスワードを入力し、[OK] をクリックします。
6. 同期対象の OU/コンテナの画面ショットを採取するなどし、情報を記録しておきます。
-- 同期対象オブジェクトの種類の確認 --
7. [Select Object Types] をクリックします。
8. [Show All] にチェックを入れ、全項目が確認できるように画面ショットを採取します。
-- 同期対象の属性の確認 --
9. [Select Attributes] をクリックします。
10. [Show All] にチェックを入れ、全項目が確認できるように画面ショットを採取します。
-- その他構成情報 --
11. デスクトップなどにある [Azure AD Connect] を実行し、構成ウィザードを開きます。
12. [構成] をクリックします。
13. [現在の構成を表示する] をクリックして、[次へ] をクリックします。
14. 全項目が確認できるように画面ショットを採取します。

<同期ルールのエクスポート>
1. スタート画面より Synchronization Rules Editor を起動します。
2. 全ルールを選択し、[Export] をクリックします。出力されたファイルを保存します。(PS1 という拡張子で保存します。)
例) sync_rule.ps1
3. [Direction] より [Outbound] を選択します。
4. 全ルールを選択し、[Export] をクリックします。出力されたファイルを保存します。(PS1 という拡張子で保存します。)


Tip o’ the Week 442 – Whose phone? Your phone…

$
0
0

clip_image002Back at the May 2018 Build conference, an app for Windows was previewed, which would allow you to manage content from your phone, on your PC – “Your Phone”.

If you’re an Android user, and a Windows Insider, then you can get a preview version of the Your Phone app for the PC; after starting the app on the clip_image004PC, it will ask for your mobile number and text you a link to download an updated version of the Microsoft Apps app (ya falla?). Download the update, sign in as appropriate, and suddenly your photos on the phone will start appearing in near real-time on your PC.

The Your Phone app actually uses a Wi-Fi connection on the phone to sync content with the PC – they don’t need to be on the same network but they do need to be able to talk to the back end service that coordinates things. For now, it just does photos (and only on Android), but in time, more services will be added. See more details here. And here.

clip_image006The photo sharing capability is pretty cool – if you ever find yourself taking a photo on your phone and then immediately wanting to use it on your PC, then your alternatives are either to wait for OneDrive to sync your new pic from phone to cloud (and then back down to your PC)… or plug the phone in on a USB cable and root about in its file system to find the photo. Or the worst, but probably most used: you email the photo from your phone, to yourself…

Some features of Your Phone will be tied to particular preview versions of Windows 10 – such as the recent latest build, 17228.

Tip o’ the Week 443 – Starting modern apps

$
0
0

clip_image002Power Users often like to start applications quickly, without recourse to grubbing around with a mouse or a trackpad. Super Users might even want to write scripts that automate all sorts of things that mere mortals with less time on their hands are happy to do manually. Regardless of your penchant for automation, here are a few short cuts you can take to quickly start apps that you use often.

clip_image004

Apps pinned to taskbar

The taskbar in Windows obviously shows you what’s currently running, but can also be used to pin frequently accessed apps or – by default at least – those that Windows thinks should be frequent (Edge, Store, etc – right-click on them to unpin if you disagree). You’ll see a highlight line under the apps that are running, so those without the line are simply pinned there.

If you start typing the name of a favourite app at the Start menu, clip_image006then right-click on it in the list, you can choose to pin it. So far, so good.

If you drag the pinned apps around, they’ll stay in that position relative to each other, and new apps will always start to the right (or underneath, if you use a vertical taskbar, as you really should). Now, if you press WindowsKey+number, you’ll jump to the app that is n along the line, and if that app isn’t running, then Windows will start it. So in the picture above, pressing WindowsKey+2 would start Edge, or WindowsKey+3 would bring Outlook to the fore.

Shortcut to desktop

clip_image008You could try an old-skool method, by creating a desktop shortcut to apps that are already on your Start menu – press WindowsKey+D to show the bare desktop itself, then press Start to show the actual Start menu.

Assuming your Start menu isn’t full screen then you’ll be able to drag icons or tiles from the menu to the Desktop, and if you right-click the shortcut and look at Properties, you’ll see a Shortcut key: clip_image010option… just press some key sequence that makes sense to you and press OK to save.

This method differs from the taskbar one above, because each press of the shortcut you set might start a new instance of the app (if it supports that) – which may or may not be desirable. If you end up with several windows of OneNote, for example, you could cycle through them by repeatedly pressing the appropriate WindowsKey+n as above.

Keep on Running

There’s no better mark of being a real PC deity than by launching your apps through running the executable name… you know the drill? WindowsKey+R to get the Run dialog (it’s so much faster than pressing Start), then enter the app’s real name and you’re off to the races. winword, excel, calc, notepad… they’re for novices. The genuine hardcases might even dive into the (old fashioned, obvs) Control Panel applets like ncpa.cpl rather than navigating umpteen clicks.

Looking at the shortcut to OneNote’s modern app above, though, it’s clear there isn’t a simple executable to run – onenote will launch the on-life-support OneNote 2016 version.

Many modern apps do, however, let you launch them from the Run dialog by entering a name with “:” at the end…

Examples include:

onenote:

Modern OneNote (annoyingly, you may get prompted to open in OneNote 2016 – just hit cancel and it goes away)

ms-settings:

The new-fangled control panel. You can tag on other commands like ms-settings:display or ms-settings:windowsupdate but you might be quicker clicking the icon than typing all of that.

bingmaps:

A good bit quicker than launching the browser and navigating to the maps URL, even if you do press ALT-D to set focus to the address bar, and type bingmaps <CTRL-ENTER> to auto-fill the www. and the .com

outlookmail:

Even though it’s not real Outlook, this launches the Mail part of the Mail & Calendar store app. outlookcal: does the other bit.

ms-windows-store:

For when you can’t wait to check out all the great new apps in the Microsoft Store.

fb:

If you feel the need to do a personality test or look at other people’s holiday photos.

More on this, later…

Azure Database の予約容量の一般提供

$
0
0

執筆者: Lindsey Allen (Partner GPM, Azure SQL Database)

このポストは、2018 8 8 日に投稿された Announcing general availability of Azure SQL Database reserved capacity の翻訳です。

 

このたび、Azure をお客様のワークロードにとって最もコスト効率の良いクラウドにする取り組みの一環として、Azure SQL Database Single Database Elastic Pool 向けの予約容量オプションの一般提供を開始いたします。この新しい価格オプションでは、1 年間または 3 年間の SQL Database の仮想コアのリソースを事前に購入することで、ライセンス付きの価格より最大 33%1 もコストを節約することができます。

Azure は最もコスト効率の良い SQL Server ワークロード向けクラウド

現在、有効なソフトウェア アシュアランスをお持ちのお客様は、SQL Server 向け Azure ハイブリッド特典仮想コア ベースという SQL Database の新たな購入モデルを併用することで、最大 55% のコストを節約することができます。今回 Single Database Elastic Pool で予約容量オプションがサポートされることで、Azure ハイブリッド特典と組み合わせてさらにコストを抑え、最大 80%2 も節約できるようになります。

Savings

2019 7 9 日に SQL Server 2008 および 2008 R2 のサポート終了を迎えるお客様は、フル マネージド型の Azure SQL Database に現在のワークロードを移行して、サポート終了に伴う移行コストを削減することができます。Azure ハイブリッド特典では、既存の有効なソフトウェア アシュアランス付きライセンスを利用して Azure の費用をさらに抑えられます。そして、この予約容量の割引を適用することで、一段とお得に Azure SQL Database へ移行できるようになります。

1 つのサブスクリプションに適用するか、契約全体に振り分けるか

SQL Database の予約容量は、1 つのサブスクリプションに割り当てることも、契約やアカウント単位に振り分けることも可能です。対象サブスクリプションの数に制限はなく、割り当てるサブスクリプションも自由に選択することができます。

1 つのサブスクリプションに割り当てる場合、割引は設定したサブスクリプション内の SQL Database リソースのみに適用されます。振り分けの場合には、(Enterprise Agreement などの) 契約内、または (従量課金制などの) アカウント内の任意のサブスクリプションに対して割引が適用されます。契約に含まれる MSDN サブスクリプション、およびアカウントに含まれる従量課金制以外のサブスクリプションは対象外となります。

スケーリングが必要な場合も割引率を維持

SQL Database の予約容量では、仮想コアのサイズを柔軟に変更することができます。同一パフォーマンス レベル、同一リージョン内でスケールアップまたはスケールダウンしても、割引率は変わりません。たとえば、汎用のサービス レベルで、パフォーマンス レベルが Gen 5、仮想コア数 16 SQL Database の予約容量を購入した場合、仮想コア数 4 Single Database (Gen 5)、または仮想コア数 8 Elastic Pool (Gen 5) のどちらのデータベースをデプロイしても割引は自動適用されます。Single Database の仮想コア数を 8 にスケールアップしても、自動で割引が適用されます。

同一リージョン、同一パフォーマンス レベルならば、通常運用の一環として、稼働中のデータベースを、Elastic Pool Single Database 間で割引率を維持しながら一時的に切り替えることもできます。また、予約容量の一部を割り当てずに保持しておけば、急激に負荷が上昇した場合にも予算内で効率的に対応することができます。

SQL Database の予約容量は当面 Single Database Elastic Pool で利用可能で、Azure Portal にてご購入いただけます。今後 Managed Instance もサポートする予定です。価格や詳細については、SQL Database の価格ページドキュメント (英語) をご参照ください。

SQL Database

1 SQL Database Managed Instance の汎用サービス レベルで、仮想コア数が 8 のデータベースを米国西部 2 リージョンで 1 か月 730 時間実行した場合を基準とし、オンデマンドのライセンス込みの正規料金と、3 年間のライセンス込みの予約容量の料金の割引率から算出。実際の割引率は、リージョン、インスタンスのサイズ、パフォーマンス レベルによって異なります。2018 5 月時点の価格であり、変更される可能性があります。

2 SQL Database Managed Instance Business Critical サービス レベルで、仮想コア数が 8 のデータベースを米国西部 2 リージョンで 1 か月 730 時間実行した場合を基準とし、オンデマンドのライセンス込みの正規料金と、Azure ハイブリッド特典に 3 年間の予約容量を組み合わせた基本割引率から算出。SQL Server Enterprise Edition のソフトウェア アシュアランスのコストは EA 契約に応じて異なり、この割引率には含まれません。実際の割引率は、リージョン、インスタンスのサイズ、パフォーマンス レベルによって異なります。2018 5 月時点の価格であり、変更される可能性があります。

 

Azure AD と Exchange Online 間の同期に関するエラーの事例集

$
0
0

こんにちは、Exchange サポートの渡辺です。
 
先日公開したブログで、Azure AD と Exchange Online 間の同期の問題に関するトラブルシューティングの基本をご紹介させていただきました。
ただ、あまり事例の紹介ができていないので、今回はトラブルシューティングによって確認できたエラー内容毎に、いくつか詳細と対処方法をご紹介できればと思っています。

 

事例を紹介するその前に、Exchange Online のメールボックスのおさらい


先日のブログではオンプレミスのリモート メールボックスや Exchange Online のメールボックス等について説明しました。
今回の事例を紹介するにあたっては、他の種類のメールボックスもいくつか登場してくるので、改めて登場人物の整理からしていきます。

 

アーカイブ メールボックス (インプレース アーカイブ)


※ここではいわゆる普通のメールボックスをプライマリ メールボックスと呼ぶことにします。
アーカイブ メールボックスはプライマリ メールボックスとは別にユーザーが利用できる追加のメールボックスです。
アーカイブ メールボックスが何なのか自体はここではあまり関係無いので詳細は割愛します。詳しくは以下の公開情報をご確認ください。
 
  Title : Exchange Online のアーカイブ メールボックス
  URL : https://technet.microsoft.com/ja-jp/library/dn922147(v=exchg.150).aspx
 
今回の話をするにあたって、アーカイブ メールボックスについて知っておいていただきたいのは、以下の 2 点です。
 
  - オンプレミス側でアーカイブ メールボックスの有効/無効を管理する (※1)
  - あくまで、プライマリ メールボックスに紐付いた追加のメールボックスであること
 
まず 1点目についてはそのままなのですが、Exchange Online でアーカイブ メールボックスを有効化したいときは、オンプレミスのリモート メールボックスに対して Enable-RemoteMailbox コマンドの Archive スイッチを使って有効化します。(逆に無効にするなら Disable-RemoteMailbox -Archive です)
※1 : 厳密にはハイブリッド環境であっても、オンプレミス側でメールユーザーとして作成して Exchange Online にメールボックスを作成している場合等、Exchange Online 側から Enable-Mailbox コマンドでアーカイブ メールボックスを有効化できる場合もあるのですが、ここではオンプレミス側がリモートメールボックスである前提とします。
 
2 点目については下の絵を見ていただいた方がもしかしたらわかりやすいのかもしれませんが、アーカイブ メールボックスも単に 1 人のユーザーに紐付いたメールボックスの 1 つであり、アーカイブ メールボックス用のユーザー (オブジェクト) ができるわけではありません。
Get-Mailbox や Get-RemoteMailbox で 1 人の情報を取得すれば、そこにはプライマリ メールボックスの情報 (ExchangeGuid) もアーカイブ メールボックスの情報 (ArchiveGuid) も含まれています

 

非アクティブ メールボックスと Soft-Deleted Mailbox


続いて、非アクティブ メールボックスと Soft-Deleted Mailbox (正しい日本語訳が見つからなかったのですが、オンプレミスで言うところの”切断されたメールボックス”や”削除済みメールボックス” などと呼ばれていたものと似たようなものです) についてです。
どちらも基本的には既に Azure AD 上のユーザーからは切り離されている (紐付いていない) 状態になっているメールボックスを指しており、違いと言えば 30 日で完全に削除されるか、それ以降も保持され続けるかの違いです。このあたりの違いについては以下の公開情報をご確認ください。
 
  Title : Office 365 の非アクティブなメールボックスの概要
  URL : https://support.office.com/ja-jp/article/overview-of-inactive-mailboxes-in-office-365-1fbd74e8-7a60-4157-afe8-fe79f05d2038
 
この 2 つのメールボックスについても今回に限って知っておいてもらいたいのは以下の 2 点だけです。
 
  - Exchange Online にユーザー (オブジェクト) が残っている
  - Azure AD 上のユーザーは既に削除されている (Azure AD 上のユーザーが同名で存在していても別のオブジェクトになっている)
 
よくあるシナリオとしては、対象のオンプレミスのユーザーを削除したり (あるいは AAD Connect の非同期の対象にする)、Azure AD 上のユーザーを直接削除すると作られます。
以下はオンプレミスのユーザーを AAD Connect の同期対象外として Azure AD のユーザーを削除 (削除済みユーザーとなる) したときと、完全削除 (削除済みユーザーからも削除) したときのイメージです。
削除済みユーザーの時点では Soft-Deleted Mailbox の ExternalDirectoryObject に Azure AD のユーザーの ObjectId が設定されていますが、Azure AD のユーザーが削除されると Soft-Deleted Mailbox からも削除されていることが確認できますね。
※ Azure AD 上のユーザーが削除済みユーザーとして残っている場合、Exchange Online 上では Soft-Deleted Mailbox になっていますが、実はまだメールボックスと紐付いた状態になっています。
なので、削除済みユーザーを復元すれば (ディレクトリ同期の対象に戻せば)、ユーザーに紐付いているメールボックスに再接続して引き続き利用可能になります。

 

Azure AD - Exchange Online 間の同期の問題でよくある事例


それでは、Azure AD と Exchange Online 間の同期で発生する問題について、いくつかのパターンを紹介していこうと思います。
 
大抵の場合、目に見える事象としては、メールボックスが作成されない、設定変更したのに反映されない、メールボックスが削除されないのいずれかになりますが、その原因は様々です。
ここでは、先日のブログで紹介した Get-MsolUser コマンドを使って確認できるエラー毎にまとめていきます。

 

1. 訴訟ホールド、インプレース保持、保持ポリシー(SCC) が有効な場合のエラー


まずはエラーの内容から確認しましょう。
といっても、Get-MsolUser コマンドでのトラブルシューティング方法を紹介したときに使用したものと同じで、ここで取り上げるのは以下のエラーです。
 

ErrorDescription : Exchange can't disable the mailbox "JPNPR01A004.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/yowatana002.onmicrosoft.com/testuserA" because it is on In-Place Hold.

 
基本的にはユーザーを削除した場合に非アクティブ メールボックスになるようなシナリオにおいて、ユーザーは削除せずにライセンスだけを剥奪したりすると発生します。
非アクティブ メールボックスになるシナリオはいくつかあるのですが、以下の 4 つのいずれかによる保持を有効にした状態でユーザーを削除すると作られます。
いずれもライセンスが必要な機能となるため、この状況下でライセンスだけを剥奪するとこのエラーが発生します。
 
  - ExO のeDiscovery でインプレース保持を有効にする
  - ExO で訴訟ホールドを有効にする
  - SCC (セキュリティ/コンプライアンス センター) の eDiscovery でインプレース保持を適用する
  - SCC のアイテム保持ポリシーを適用する
 
※ ExO の訴訟ホールドが有効な場合だけは少し違うメッセージになります。
 

ErrorDescription : Exchange can't disable the mailbox "JPNPR01A004.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/yowatana002.onmicrosoft.com/testuserB" because it is on litigation hold.

 
これらの保持が有効かどうかについては、基本的には Get-Mailbox コマンドで確認できます。
LitigationHoldEnabled が True なら訴訟ホールドが有効で、InPlaceHolds に何かの値が入っていれば他の 3 つのうちのどれかの設定で保持が有効になっています。
 

 
いずれの保持が有効であったとしても対処方法は以下の公開情報にあるとおりで、ライセンスを剥奪して削除するのではなく、同期元のオンプレミスのユーザーを AAD Connect の同期対象外にして Azure AD 上から削除し、Exchange Online 側で非アクティブ メールボックスに変換します。
 
  Title : 非アクティブなメールボックスを作成する際の注意点
  URL : https://answers.microsoft.com/ja-jp/msoffice/forum/msoffice_o365admin-mso_exchon-mso_o365b/非アクティ/e82edc4b-d65f-4089-be72-ddfc91a0240a
 
なお、Get-Mailbox の結果の LitigationHoldEnabled が False で InPlaceHolds が空の場合でも、同様のエラー メッセージが記録される場合も実はあります。
しかも2パターンあります。
 
1 つ目は、SCC のアイテム保持ポリシーを個別のメールボックスに対してではなく、組織レベルで適用している場合です。
組織レベルで適用されているかなどの詳細は以下のブログでご紹介しているので、もしいずれの保持も設定されていなそうなときはご確認ください。
 
  Title : セキュリティ コンプライアンス センターで設定する保持ポリシーのメールボックスへの適用状況を確認する方法
  URL : https://blogs.technet.microsoft.com/exchangeteamjp/2018/04/17/how-to-see-which-retention-policy-is-applied-to-your-mailbox/
 
2 つ目は、削除の直前までインプレース ホールドや訴訟ホールドが有効だった場合です。
このようなシナリオで削除を試みた場合は、Get-Mailbox の DelayHoldApplied の設定を確認してみてください。
 

 
この画像のように DelayHoldApplied が True となっている場合は、意図的にメールボックスの削除が 30 日遅延される動作になり、Exchange Online 的にはその間はインプレース ホールドが有効な状態と判断するため、同じエラーが出ます。
これは、直前まで保持が有効なメールボックスであったので、誤操作などで本来は必要であったデータを間違って削除してしまうことがないように、Exchange Online が意図的に値を True に設定して削除を遅延させています。
もちろん、対象のメールボックスに誤りがなければ遅延させる必要はないので、以下のコマンドで DelayHoldApplied を False に変更してメールボックスが削除されるか確認していただければと思います。

  Set-Mailbox -Identity <対象のメールボックス> -RemoveDelayHoldApplied

 

2. ExchagneGuid 関連のエラー


続いてのエラーは、一度メールボックスを削除しようとしたものの、やはりメールボックスが必要だということになり、新しいメールボックスを作成しようとしたときに発生したものです。
実際はこのエラーにより新しいメールボックスは作成されていませんでした。
 

ErrorDescription : The value "01855e55-d849-4631-b160-5c9c1ad491dc" of property "ExchangeGuid" is used by another recipient object. Please specify a unique value.

 
エラーの内容通り、ExchangeGuid に設定されている値が、他の受信者オブジェクトと競合してしまっているために、エラーになっているようです。
 
下の絵を見ながら読んでもらえればと思うのですが、このユーザーは以前のメールボックスを削除する前からオンプレミスのリモート メールボックスに、Exchange Online のメールボックスと同じ ExchangeGuid が設定されていました。
オンプレミスのメールボックスを Exchange Online に移動すると自動的にこのような設定になりますね。
そしてメールボックスを削除するためにオンプレミスのリモート メールボックスを Azure AD の同期対象外として Azure AD 上のユーザーを削除したことで、Exchange Online のメールボックスは Soft-Deleted Mailbox になりましたが、引き続き ExchangeGuid は設定されたままになっています。
 
そして、今回メールボックスを再作成する必要がでてきたので、改めて AAD Connect によりオンプレミスのリモート メールボックスを Azure AD に同期し、新しい Azure AD 上のユーザーを作成しました。
ここでポイントになるのが、最初の Soft-Deleted Mailbox の説明に書いた、Azure AD のユーザーを削除しているため Soft-Deleted Mailbox の ExternalDirectoryObject は既に空になっている (どのユーザーとも紐付いていない) ということです。
つまり、新しく作成された Azure AD のユーザーと Soft-Deleted Mailbox は紐付いていない ≒ 別のオブジェクト であるため、別のオブジェクトと ExchangeGuid が競合していますよということでエラーになっています。

じゃあどうするのかというと、対処は簡単で以下の手順を実施するだけで、オンプレミスのリモート メールボックスの ExchangeGuid を削除すれば Exchange Online に新しいメールボックスが作成されます。
 
  1. オンプレミスでリモート メールボックスの ExchangeGuid を削除して値の競合を回避 (Set-RemoteMailbox -ExchangeGuid 00000000-0000-0000-0000-000000000000)
  2. AAD Connect によるディレクトリ同期を実行
  3. 作成された新規ユーザーにライセンスを付与
  4. 必要があれば (必須ではありません)、オンプレミスのリモート メールボックスに対して、Exchange Online のメールボックスに設定されている ExchangeGuid を付与 (Set-RemoteMailbox -ExchangeGuid xxx)
 
補足:
上に書いたとおりオンプレミスのリモート メールボックスの ExchangeGuid を空にすることが正しい手順ですが、「じゃあ競合しない ExchangeGuid なら設定しててもいいの?」と思った方向けに補足します。
これの答えは「NO」です。
なぜかと言うと、最初から ExchangeGuid が設定されているユーザーはオンプレミスにメールボックスが存在していた場合のみを想定しており、そのようなユーザーに関しては Exchange Online 上でライセンスを付与しても、メールボックスが作成されない (オンプレミスのメールボックスを移動する必要がある) からです。
※ この場合は属性値の競合が発生しているわけではないので、Get-MsolUser 上は何もエラーは発生しません。メールボックスが作られない+エラーもないときは、リモート メールボックスに ExchangeGuid が設定されていないか確認してみましょう。

 

3. ArchiveGuid 関連のエラー


3 つ目のエラーですが、大抵の場合 2 で紹介した ExchagneGuid のエラーに対処した後に出てくることが多いです。
理由は後ほど、、、ということで、ひとまずエラーの内容を見てみましょう。
 

ErrorDescription : The value "ecbdbf6a-de22-4464-b5a6-332a5c2396e2" of property "ArchiveGuid" is used by another recipient object. Please specify a unique value.

 
先ほどの ExchangeGuid のエラーと同じように、今度は ArchiveGuid で競合が発生しているようです。
最初に ExchangeGuid を対処した後に出てくることが多いと書きましたが、発生原因は ExchangeGuid と同じで、オンプレミスに設定されている値と同じ値を持つ他の受信者オブジェクトが存在していることが原因なので、ExchangeGuid だけ対処しても今度は ArchiveGuid の競合でひっかかってしまうからというのがその理由です。
1 回の対処で ExchangeGuid と ArchiveGuid の競合両方に対処した方が手間も少ないので、ExchangeGuid のエラーが出たら Archive が有効なメールボックスでないか (このエラーが発生しうる状態でないか) も確認しておきましょう。
 
次は対処についてなのですが、ExxchangeGuid と同じようにオンプレミスのリモート メールボックスに設定された ArchiveGuid を削除すればいいよねと思った方、少しお待ち下さい。
実はこれをやると今度は下のエラーが発生します。
 

ErrorDescription : Cannot validate argument on parameter 'ArchiveGuid'. The argument is empty. Supply an argument that isn't empty, and try the command again.

 
残念ながら、ArchiveGuid は ExchangeGuid とは違って値を未設定にして同期を行うことができません。
最初にアーカイブ メールボックスはオンプレミスで有効/無効を管理すると説明しましたが、オンプレミス側で有効化しているのにオンプレミスの ArchiveGuid が未設定というのはそもそもおかしいのでエラーになっているというわけです。
 
では、どうすればいいのかと言うと、実は ArchiveGuid の競合の場合は ExchangeGuid とは違って、オンプレミスのリモート メールボックスに設定されている ArchiveGuid を競合しないものに変えるだけで問題ありません。
そのため、以下の手順で対処できます。
 
  1. オンプレミスでリモート メールボックスの ArchiveGuid を別の値に変更する (Set-RemoteMailbox -ArchiveGuid xxx)
  2. AAD Connect によるディレクトリ同期を実行
 
補足:
新しい ArchiveGuid を付与するときは、自動的に GUID を作成してくれる NewGuid メソッドを以下のように使うと便利です。
 
  Set-RemoteMailbox userA -ArchiveGUID ([guid]::NewGUID())
 
  -- 参考
  Title : Guid.NewGuid メソッド ()
  URL : https://msdn.microsoft.com/ja-jp/library/system.guid.newguid(v=vs.110).aspx

 

まとめ


今回、いくつか Azure AD と Exchange Online の同期に関する内容を紹介しました。
すべてのエラーについて紹介するのはなかなか難しいですが、先日のブログで紹介した Error の確認方法と上で説明したような現在の状態・構成・動作さえ把握できていれば、対処方法などもイメージしやすいのではないかと思ってまとめたつもりではありますので、今後の運用に役立てていただけたら幸いです。

 
※本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。

Azure AD Connect サーバーの CPU 使用率が頻繁に 100% になる問題について

$
0
0

こんにちは、Azure ID チームの松枝です。

本記事では、Azure AD Connect サーバーの CPU 使用率が頻繁に 100% になる問題について、次のとおりご案内いたします。
先日より同様の事象について、多くのお問い合わせをいただいております (ご迷惑をお掛けしまして申し訳ありません)。先日修正を含む Azure AD Connect のバージョンがリリースされましたので、もし本問題事象が発生しましたら、下記の対処方法を実施ください。

本事象の概要:

”バージョン 1.1.819.0 以前” の Azure AD Connect の不具合が原因で、 .NET Framework に関するセキュリティ更新プログラムの適用が行われた後、 Azure AD Connect サーバーの CPU 使用率 が常に 100% に近い高負荷状態になります。

事象発生が報告されている更新プログラム:

  • KB4338420
  • KB4338606
  • KB4054542
  • KB4054566
  • KB4054590
  • KB4338814
  • KB4338419
  • KB4338605
  • KB4345418

参考情報:

 

もし、高負荷状態にあるプロセスが ”Microsoft.Identity.Health.AadSync.MonitoringAgent.Startup.exe” の場合、本事象に該当する可能性が高いと考えられます。

根本的な対処方法:

Azure AD Connect を、本事象に対する修正を含む最新バージョン Azure AD Connect 1.1.880.0 にアップグレードします。
バージョン 1.1.880.0 における修正内容につきましては、下記の弊社技術情報をご参照ください。

 

暫定的な対処方法:

運用上の理由で上記の根本的な対処が難しい場合、本事象の原因となっているサービス「Azure AD Connect Health Sync Monitoring Service」を停止することでも回避できます。アップグレードするまでの暫定的な対処方法としてご検討ください。
なお、このサービスを停止した場合、Azure AD Connect Health for Sync の機能は利用できなくなりますが、Azure AD Connect の同期処理や認証処理に影響はありません。

 

上記内容が少しでも参考となりますと幸いです。
製品動作に関する正式な見解や回答については、お客様環境などを十分に把握したうえでサポート部門より提供させていただきますので、ぜひ弊社サポート サービスをご利用ください。

 

関連する記事:

 

Transformers

$
0
0

Logbucheintrag 180810:

Siemens-Chef Joe Kaeser hatte bei seinem Amtsantritt ein Versprechen mit seinem Namen verknüpft: Der seinerzeit verunsicherte Konzern sollte zurück in ruhiges Fahrwasser gebracht und gleichzeitig der Flugzeugträger Siemens in eine Flotte von Schnellbooten umgebaut werden. Dafür stand die Strategie Vision 2020, die den Trend zur Holdingstruktur für viele Nachahmer einleitete. Nach Börsengängen, Fusionen und Verkäufen gilt die Transformation als nahezu vollzogen. Nun ist es Zeit für die Vision 2020+, die auch eine inhaltliche Neuausrichtung nach sich ziehen soll: Mehr Industrie 4.0, mehr Agilität, mehr Digitalisierung – und nicht zuletzt mehr Apps für die Cloud.

Dazu hat sich Siemens jetzt ein Goldstück der Startup-Szene gesichert: Mendix ist eine cloudbasierte Entwicklungs-Plattform für Apps der neuesten Generation. Kommunikativ, Kognitiv und mit Künstlicher Intelligenz ausgestattet sollen die Apps untereinander proaktiv kollaborieren und neue, agile Geschäftsprozesse formen. Mendix ist der Weg, auf dem Siemens seine IoT-Plattform Mindsphere zu einem allgegenwärtigen Ecosystem für sich selbst und seinen Kunden aus der industriellen Fertigung ausbauen will. Und Azure ist dabei die bevorzugte Cloud-Plattform.

Mindsphere ist ein Beispiel dafür, wie Microsoft mit Azure durch das Engagement seiner Kunden wachsen kann. Azure ist dabei nicht nur die Plattform, auf der die eigenen Unternehmensabläufe abgebildet werden kann. Es ist auch de Plattform für völlig neue Produkte und Services, die Microsoft-Kunden ihren Kunden unterbreiten. Damit wächst Azure mit dem Wachstum der Kunden.

Bereits seit zwei Jahren arbeiten Siemens und Microsoft intensiv zusammen, um mit Mindsphere eine Infrastruktur zu schaffen, auf der Industrieunternehmen ihre Industrie-4.0-Strategien umsetzen können. Dabei reicht es nicht mehr, lediglich die Maschinensteuerungen zu digitalisieren und die Kommunikation zwischen den einzelnen Fertigungsschritten auf Datenebene zusammenzuschmieden. Mehr und mehr werden für agile, proaktive Prozesse Services benötigt, die die Daten analysieren, neue Planungen proaktiv erstellen und die Umsetzung auf der Fertigungsebene durchsetzen.

Das genau leistet die Kombination aus Azure und Mindsphere. „Die Integration von Siemens MindSphere und Microsoft Azure fördert Geschäftsmodellinnovationen und bietet Kunden zukünftig mehr Flexibilität und Wahlmöglichkeiten. Sie unterstützt Fertigungsunternehmen dabei, ihre digitale Transformation erfolgreich mit Public-Cloud-Lösungen voranzutreiben und die Potenziale von IoT-, Big-Data- und Machine-Learning-Anwendungen voll auszuschöpfen“, sagte Sabine Bendiek, die Vorsitzende der Geschäftsführung von Microsoft Deutschland damals bei der Ankündigung der Zusammenarbeit.

Aber Mindsphere ist zugleich ein Beispiel dafür, wie Siemens sich selbst als Transformer etabliert und dadurch auch wieder zum Performer wird. Die digitale Transformation verändert nicht nur die Geschäftsprozesse und Geschäftsmodelle eines Unternehmens – sie verändert das Unternehmen selbst. Das ist die wahre Herausforderung der Digitalisierung.

Mindsphere auf Azure ist nicht nur eine Infrastruktur in der Public Cloud. Es ist zugleich die Basis für eine Community: die Mndsphere World, die sich Anfang des Jahres aus dem Zusammenschluss von 19 Fertigungsunternehmen gegründet hat. Die internationale Anwendergemeinschaft soll jetzt den Transformationsprozess zusätzlich beschleunigen. Zum Beispiel durch die Entwicklung neuer Apps mit Hilfe von Mendix. Und wieder wächst Azure mit dem Azure dieser Community.

サンプル コード : SharePoint 2013 形式ワークフローの状態出力

$
0
0

今回の投稿では、特定のリストに関連付けられた SharePoint 2013 形式ワークフローの各インスタンスの状態を出力する SharePoint Online用のサンプル コードをご紹介します。

SharePoint 2013 形式のワークフローの状態列は、ワークフローの状態列をクリックすれば、下記のように表示されます。

しかし、列自体に、ワークフローの実際の内部状態を表示しないため、リスト ビューなどでワークフローの状況が把握できないというご質問を受けます。

SharePoint 2013 形式ワークフローは、SharePoint 2010 形式ワークフローよりも、リトライ処理が堅牢に実装されております。

そのため、ワークフローの処理が失敗する可能性は低いですが、リトライしても成功しない処理 (. 削除済みアイテムを削除する) をリトライし続け、リトライ回数を枯渇して一旦停止になる場合もあります。

今回の投稿では、このようなシナリオにおいて SharePoint 2013 形式ワークフローの内部状態を確認し、エラーとなったワークフローを検出するサンプル スクリプトをご紹介します。

事前準備

下記の内容を実施済みのクライアント環境においては、事前準備の項目を再度実施する必要はございません。

1 : SharePoint Online Client Components SDK のダウンロード

サンプル スクリプトを実行するための実行環境として SharePoint Online Client Components SDK をダウンロードします。

以下のリンクよりダウンロード可能です。

タイトル : SharePoint Online Client Components SDK
アドレス : https://www.microsoft.com/en-us/download/details.aspx?id=42038

 

2 : スクリプトの実行ポリシーを変更する

1)PowerShell を管理者として起動します。
2) 以下のコマンドを実行し、現在の PowerShell の実行ポリシーを確認します。

Get-ExecutionPolicy

3) 以下のコマンドを実行し、PowerShell の実行ポリシーを変更します。

Set-ExecutionPolicy RemoteSigned

補足 : RemoteSigned 以上の実行ポリシー (例. Unrestricted) が指定されている場合は、指定の必要はありません。

  

コードの実行

1) 以下のコードを GetWfStatus.ps1 として保存します。

param(
 $siteUrl,
 $listName,
 $username,
 $password,
 $outfile,
 $resume = $false
)

Add-Type -Path "C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions16ISAPIMicrosoft.SharePoint.Client.dll"
Add-Type -Path "C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions16ISAPIMicrosoft.SharePoint.Client.Runtime.dll"
Add-Type -Path "C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions16ISAPIMicrosoft.SharePoint.Client.WorkflowServices.dll"

function ExecuteQueryWithIncrementalRetry($retryCount, $delay)
{
  $retryAttempts = 0;
  $backoffInterval = $delay;
  if ($retryCount -le 0)
  {
    throw "Provide a retry count greater than zero."
  }
  if ($delay -le 0)
  {
    throw "Provide a delay greater than zero."
  }
  while ($retryAttempts -lt $retryCount)
  {
    try
    {
      $script:context.ExecuteQuery();
      return;
    }
    catch [System.Net.WebException]
    {
      $response = $_.Exception.Response
      if ($response -ne $null -and $response.StatusCode -eq 429)
      {
        Write-Host ("CSOM request exceeded usage limits. Sleeping for {0} seconds before retrying." -F ($backoffInterval/1000))
        #Add delay.
        Start-Sleep -m $backoffInterval
        #Add to retry count and increase delay.
        $retryAttempts++;
        $backoffInterval = $backoffInterval * 2;
      }
      else
      {
        throw;
      }
    }
  }
  throw "Maximum retry attempts {0}, have been attempted." -F $retryCount;
}

function EnumWorkflowsInFolder($list, $ServerRelativeUrl)
{
  do
  {
    $camlQuery = New-Object Microsoft.SharePoint.Client.CamlQuery
    $camlQuery.ListItemCollectionPosition = $position
    $camlQuery.ViewXml = "<View><RowLimit>5000</RowLimit></View>";
    if ($serverRelativeUrl -ne $null)
    {
       $camlQuery.FolderServerRelativeUrl = $ServerRelativeUrl
    }
    $listItems = $list.GetItems($camlQuery);
    $script:context.Load($listItems);
    ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000

    foreach($listItem in $listItems)
    {
      if ($listItem.FileSystemObjectType -eq [Microsoft.SharePoint.Client.FileSystemObjectType]::Folder)
      {
         $script:context.Load($listItem.Folder)
         ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000
         EnumWorkflowsInFolder -List $list -ServerRelativeUrl $listItem.Folder.ServerRelativeUrl
      }

      $wfic = $script:wfis.EnumerateInstancesForListItem($list.Id, $listItem.Id);
      $script:context.Load($wfic);
      ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000
 
      foreach ($wfi in $wfic)
      {
        WriteOut -text (($listItem.Id.ToString()) + "," + (GetWorkflowSubscription -subid $wfi.WorkflowSubscriptionId) + "," + $wfi.Status) -append $true
        if ($resume)
        {
            if ($wfi.Status -eq "Suspended")
            {
                $script:wfis.ResumeWorkflow($wfi)
                ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000
                Write-Output ("Resumed workflow on Item ID = " + $listItem.Id.ToString())
            }
        }
      }
    } 
    $position = $listItems.ListItemCollectionPosition
  }
  while($position -ne $null)
}

function GetWorkflowSubscription($subid)
{
  if ($script:wfsubhash[$subid.ToString()] -eq $null)
  {    
    $sub = $script:wfss.GetSubscription($subid)
    $script:context.Load($sub)
    ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000

    $script:wfsubhash[$subid.ToString()] = $sub.Name
    return $sub.Name
  }
  else
  {
    return $script:wfsubhash[$subid.ToString()]
  }
}

function WriteOut($text, $append)
{
  if ($outfile -eq $null)
  {
    Write-Output $text
  }
  else
  {
    if ($append)
    {
      $text | Out-File $outfile -Append -Encoding UTF8
    }
    else
    {
      $text | Out-File $outfile -Encoding UTF8
    }
  }
}

$script:context = new-object Microsoft.SharePoint.Client.ClientContext($siteUrl)
$pwd = convertto-securestring $password -AsPlainText -Force
$credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $pwd)
$script:context.Credentials = $credentials

$wfsm = new-object Microsoft.SharePoint.Client.WorkflowServices.WorkflowServicesManager($script:context, $script:context.Web)
$script:wfss = $wfsm.GetWorkflowSubscriptionService();
$script:wfsubhash = @{}
$script:wfis = $wfsm.GetWorkflowInstanceService();

$list = $script:context.Web.Lists.GetByTitle($listName)
$script:context.Load($list)
ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000

$wfSubs = $wfss.EnumerateSubscriptionsByList($list.Id);
$script:context.Load($wfSubs);
ExecuteQueryWithIncrementalRetry -retryCount 5 -delay 30000

WriteOut -text "ItemId,WorkflowName,Status" 
EnumWorkflowsInFolder -List $list -serverRelativeUrl $null

 

2) PowerShell  を起動します。
3) スクリプトを配置したフォルダーに移動し、作成した .ps1 ファイルを以下のように実行します。

.getwfstatus.ps1 -siteUrl https://tenant.sharepoint.com/sites/workflowsite -listName ドキュメント -username account@tenant.onmicrosoft.com -password password

パラメータ

-siteUrl ・・・ サイトのアドレス
-listName ・・・ リスト名
-username ・・・ 処理を実行するユーザー
-password ・・・ 上記ユーザーのパスワード
-outfile ・・・ 出力先ファイル (省略可 : 既定値はコンソール出力)
-resume ・・・ $true の場合 一旦停止したワークフローを強制開始 (省略可 : 既定値 $false)

補足

  • リスト ビューのしきい値と、HTTP 調整対策の内、増分バックオフ リトライに対応しています。
  • 大規模なリストに対して、本スクリプトを実行する場合、HTTP 要求数が増える可能性があります。万が一のことを想定し、オフピークの時間帯に実行してください。

今回の投稿は以上です。

本情報の内容は、作成日時点でのものであり、予告なく変更される場合があります。

 


管理スコープと配布グループの管理

$
0
0

Exchange の管理者の役割をユーザーに与えるときに、書き込み可能な範囲 (スコープ) を指定することが可能です。
この機能を利用して一部の管理者権限をユーザーに与える運用も多いのではないかと思いますが、今回は管理者の役割とユーザーの役割の両方が指定されている場合の動作を紹介します。
なお、本投稿は Exchange Online を前提としていますが、オンプレミスの Exchange Server 2016 でも同様です。

はじめに、ユーザー権限で配布グループの管理を行う役割は MyDistributionGroupMembership と MyDistributionGroups の 2 つがあります。
MyDistributionGroupMembership は自分のメンバーシップ (自分がどの配布グループに所属するかなど) を管理する役割です。
MyDistributionGroups は自分が所有者となっている配布グループを管理する役割です。
つまりこれらはスコープが制限されています。

次に管理者の役割としては Distribution Groups の役割があります。
この役割は配布グループ全般の管理を行うことができる管理者の役割です。
既定ではスコープの制限はありませんのですべての配布グループを管理することができますが、ユーザーに役割を割り当てる際にスコープを制限することができます。
スコープの使用方法についてはこちらの技術情報に詳しい情報があります。
なお、セキュリティ グループの管理を行う役割として別途 Security Group Creation and Membership もあります。

では MyDistributionGroups と、スコープの制限された Distribution Groups の両方を割り当てられたユーザーが配布グループの管理を行うとき、スコープはどうなるでしょうか。
答えは、一部の例外を除きどちらかのスコープに当てはまれば管理可能、となります。
つまり、対象の配布グループの所有者であれば Distribution Groups のスコープ外であっても管理可能であり、Distribution Groups のスコープ内であれば所有者ではない配布グループの管理も可能です。

ただし、管理対象の配布グループの所有者であっても、Distribution Groups のスコープ外であり、かつアドレス帳に非表示の配布グループについては、Add-DistributionGroupMember / Remove- DistributionGroupMember によるメンバーの管理ができません。
これは現時点で Exchange の実装上の制限となります。

対処策としては Update-DistributionGroupMember コマンドを代わりに使用する方法があります。
Update-DistributionGroupMember コマンドは、配布グループのメンバーを、パラメータに指定したメンバーに置き換えるコマンドです。
Exchange 管理センターで配布グループのメンバーを管理する際はバックグラウンドで Update-DistributionGroupMember コマンドを使用することで、先述の制限を回避しています。

ちなみに Distribution Groups のスコープとして、配布グループが持っていない属性を条件 (例えば Office 属性が Tokyo であることを条件にするなど) とした場合はどうなるでしょうか。
答えは、すべての配布グループがスコープ外となります。
このため、スコープの条件を検討する際には、実際に配布グループなど管理対象のオブジェクトが持っている属性を条件として使用する必要があります。

※本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります

小間 竜太郎

Set up Azure Service Principal

$
0
0

 

Azure Service principal is like a Mech ID that does work for you behind the scenes

Stack Overflow states it plainly

An Azure service principal is a security identity used by user-created apps, services, and automation tools to access specific Azure resources.
Docs site defines it as a Security identity object
We will need the AAD Tenant ID, Application ID (service principal, and Password (key)

AAD Tenant ID

 

For Service Map, the Tenant ID is the Azure Active Directory, Directory ID

 

From Azure Portal

Select Azure Active Directory > Properties > Directory ID in the Azure portal

See Docs site link

Save this to notepad, somewhere for safe keeping - password safe

Tenant ID

This is where you setup the Service Principal for an application
Azure Active Directory is NOT required
From Azure Portal
Click on Azure Active Directory
Click on Properties
Copy the Directory ID
From OMS
Click on Overview, Settings
Click on Accounts, Manage Users
Copy the Tenant ID
Once you have the Directory ID copied to notepad, you need to set up an App registration

App Registration ID

From Azure Portal
Click Azure Active Directory
Click App Registrations
Click + New application registration
Create name and URL
My example is 'ServiceMap-App' with my domain
Click Create
 
Click Settings
Click Keys
Recommend setting 2 keys, and save to notepad, and somewhere secure
I did 1 year and 2 year keys
Enter name for Description, Duration box, and click Save
Value will be displayed
Copy the value

PLEASE!!!!

Don't exit without grabbing the keys!  You will have to delete the App-Registration and start over
After creation, copy the values from Notepad for Tenant ID, Application ID, and keys

 

Azure Backup – Nuevas opciones en la calculadora de precios

$
0
0

En esta ocasión voy a desglosar los detalles incluidos en la calculadora de Azure para el servicio de Azure Backup, es muy importante mencionar que el modelo de precios no ha cambiado, sólo se han agregado un par de detalles para estimar el almacenamiento consumido, la información que se ha agregado es la siguiente:

Veamos a qué se refiere cada punto:

Renovación media diaria (Average Daily Churn)

Las cargas de trabajo tienen distintas tarifas de renovación. Las consideradas en Azure con respecto a la media de renovación son las siguientes.

  • Baja (hasta el 2 %)
  • Moderado (3 %-4 %)
  • Alta (5 % y por encima)

El valor se ha determinado por la media ponderada de renovación diaria de la carga de trabajo, calculada con datos de telemetría de Azure, esto quiere decir que cuando eliges alguna de las opciones de respaldo en la opción de Tipo (Type), por defecto te asigna una media de renovación,

para Azure VM por defecto de selecciona una renovación media diaria Moderada, para Servidores o Clientes Locales – Baja y para Servidores SQL en Máquina Virtual de Azure te denomina Alta, sin embargo, se puede personalizar, ya que el campo es editable.

En un ejemplo más tangible, si tienes una carga de trabajo tipo Cliente y tiene un tamaño de 50 GB se denominaría una media de renovación baja (aprox. 2%) por lo tanto su crecimiento sería de 1 GB, esto no impacta directamente en un crecimiento de la Bóveda de Respaldo en un crecimiento de 51, ya que debemos recordar que al momento de respaldar la información se comprime entre un 30-40%, por lo tanto, lo veríamos de la siguiente manera

Duración de retención de los RP (Puntos de recuperación

Aquí se indican la duración durante la cual desea conservar los puntos de recuperación. Puede tener cualquier cantidad de puntos diarios/semanales/mensuales/anuales retenidos durante el tiempo que especifique y también puedes proyectar el crecimiento después de 1 mes, de un año y en estado estable.

Basados en el mismo ejemplo, si en la opción de retención eliges 30 días como muestra la primera imagen, quiere decir que el punto de recuperación (Recovery Point - RP) del día 1 (equivalente a 32.5 GB) se mantendrá disponible por 30 días siguientes y la misma dinámica aplica para las otras opciones.

Por lo tanto, podemos concluir que los costos mensuales de almacenamiento aumentan con el tiempo debido al crecimiento del almacenamiento y son directamente proporcionales a la renovación de la carga de trabajo y al rango de retención. El almacenamiento crece hasta un punto tras el cual se estabiliza, que se conoce como estado estable.

Para mas información sobre los precios hagan clic aquí https://azure.microsoft.com/es-es/pricing/details/backup/

Espero que haya sido de utilidad esta información.

 

 

 

 

 

OSD Video Tutorial: Part 11 – MDT Integration

$
0
0

This session is part eleven of an ongoing series focusing on Operating System Deployment in Configuration Manager. In it, Steven gives an overview of the Microsoft Deployment Toolkit comparing it's use standalone and integrated with Configuration Manager. Demonstrations include the Microsoft Deployment Toolkit UDI wizard, a discussion of the elements added when the Microsoft Deployment Toolkit is integrated with Configuration Manager 2012 and more.

The video linked below was prepared by Steven Rachui, a Principal Premier Field Engineer focused on manageability technologies.

Next in the series, Steven will pause in our more traditional OSD discussion and loop back to the Windows ADK.

Posts in OSD - A Deeper Dive

Go straight to the Deeper Dive playlist

OSD Video Tutorial Overview

SharePoint requests fail when memory is low

$
0
0

Summary

When working in virtual labs, I don't always adhere to best practices. For example, we all know the minimum memory recommendation for SharePoint is 16GB for production use. So, when testing in my labs, SharePoint web requests may fail. As a result, I find myself troubleshooting the issue, only to find the failure was caused by low memory. I have many SharePoint Farms and many VM's for testing, which covers all supported versions. So, one would think I have learned my lesson and simply provision all my virtual machines with at least 16GB's of memory. Well I can't because physical memory on the VM host is not limitless and I can create way more VM's if use less memory.

So why am I telling you this?

Mainly it's for me, so I can find the solution easily when this occurs again (and it will). However, I wanted to share my latest symptom which may help someone in the future.

Issue:

Unable to access a SharePoint site with SharePoint Designer, it was failing with error "The server could not complete your request."

Example:

Clicking on "Details" provided no additional information.

Cause:

Since I kind of spoiled it above, you already know its low memory. By default, when memory is below the 5% of the total memory, "Memory gate checking" at the IIS level kicks in and causes SharePoint failures.

If you think this issue is occurring, look in the application event logs during this failure, you may find the following event.

Log Name: Application
Source: System.ServiceModel 4.0.0.0
Date: 8/10/2018 2:30:15 PM
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
User: contosospservice
Computer: sp

Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/56528276
Exception: System.ServiceModel.ServiceActivationException: The service '/b464bf6ac4fd49f986be1900c0ff4950/MetadataWebService.svc' cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (149831680 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.. ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (149831680 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.

at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

--- End of inner exception stack trace ---

at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)

Process Name: w3wp
Process ID: 2360

Workaround:

To workaround this issue set the "minFreeMemoryPercentageToActivateService" to "0" in the web.config for the services web application (not the site), which effectively disables "Memory gate checking".

 

Example:

<system.serviceModel>

<serviceHostingEnvironment minFreeMemoryPercentageToActivateService="0" />

</system.serviceModel>

 

Steps:

  1. From IIS Manager, right click on the service web app and choose "Explore".

  2. You will see a folder that contains the web.config.

  3. Make a backup copy of the web.config (always a good practice).
  4. Add the "minFreeMemoryPercentageToActivateService" section previously described just above the "</configuration>" closing tag.

     

    Example:

  5. Save the changes and trigger an IISRESET.
  6. Test the changes by accessing Central Admin and a Site Collection.
  7. If all is good, you should be able to continue testing with your new settings.

 

Disable Memory Checking from a Site Web Application

If your site (not web services) is generating low memory errors, it is possible to disable memory checking at this level as well. However, the web.config may already have a "system.serviceModel" section, so you will need to add the "minFreeMemoryPercentageToActivateService" setting within the current section.

 

Example:

 

Before the change:

<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
</system.serviceModel>

 

After the changes:

<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0"/>
</system.serviceModel>

 

Note: Simply add the setting to the current line separated by a space.

 

Important Takeaways:

  • This is not a supported configuration and only should be used for testing functionally in test labs (not performance testing).
  • Applying CU's may reverse this setting if web.config changes are present in the update.
  • This is an IIS thing and a SharePoint thing.
  • Low memory can occur on production servers as well, even if your server is configured with 16GB's or more.
  • Please do not use this setting on a production server, because if your server is running below 5% memory, it needs some attention and not a band-aid.

 

FY19 マイクロソフト パートナー ネットワークの進化 (1)~ビジネスを差別化するための新しいビジネスプロファイル【8/11 更新】

$
0
0

Inspire 2018 で発表がありました通り、パートナー様のソリューションを紹介し、適切なお客様に提供できるように、マイクロソフト パートナー ネットワークでは新しいサービスの提供やプログラムの強化に取り組んでいます。この記事では、その中のひとつの取り組みにフォーカスして、より深く掘り下げて取り組みをお知らせしていきます。

第一回目は、FY19 で実施されるビジネスプロファイルの変更に焦点を当てます。

 

ビジネスを差別化するための新しいビジネスプロファイル

コンピテンシー制度を補完するための Advanced Specialization (専門分野) をパートナーのビジネスプロファイルに追加します。これによりパートナーの皆様が、コンピテンシーでカバーされる領域のうち、どのソリューションやサービスが得意なのかを示すことができるようになります。

  • SAP on Azure: デジタル変革を推進し、顧客の SAP インフラを SAP on Azure に移行することができる技能。
  • クラウド IP 電話: Microsoft Teams や Skype for Business のクラウド電話機能を顧客に提供できる技能。
  • オンライン会議: Microsoft Teams や Skype for Business のクラウドオンライン会議機能を顧客に提供できる技能。
  • Yammer: 業界をリードするマイクロソフトのエンタープライズソーシャル機能である Yammer を、顧客のチームに適切に提供できる技能。
  • ソフトウェアアセット管理 (SAM) マネージドサービス: 顧客が IT 資産をより有効に活用できるよう、マイクロソフトが提供する特典を活用して SAM マネージドサービスとして提供できる技能。
  • Microsoft Teams: Office 365 のチームワーク機能であり、マイクロソフトのインテリジェントコミュニケーションビジョンの中核となる Microsoft Teams を顧客に適切に提供できる技能。
  • Microsoft 365 とモダンデスクトップ: Office と Windows を単に展開するだけではなく管理もすることで、よりセキュリティを上げ、ITコストを管理し、古いソフトウェアのサポート終了間際で対策をしなくてもよいように計画/実行できる技能。
  • 採用変更管理 (ACM): 顧客のマイクロソフトクラウドテクノロジーへの移行を支援し、ますます大きくなる変更管理サービスへのニーズを受け止め計画/実行できる技能。

Azure Export MSP のメリット

厳格な監査と要件の審査を通過したマネージド サービス プロバイダー (MSP) は、Azure Export MSP として認定されます。

Azure Expert MSP に認定されると、バッジの交付、マイクロソフトウェブサイトでの紹介、共同販売 (Co-Sell)やリード紹介 (Referrals) での優先的紹介、 特別イベントへの参加等の特別な特典が付与されます。

 

資格を得るには?
Azure Expert MSP は時間/コスト集約型の監査プロセスに合格する必要があります。以下で主要な手順をご確認ください。

  • ステップ 1: 必須条件を満たす
    開始するには、Gold の Cloud Platform コンピテンシー ステータスを獲得済みで、以下に説明するその他のビジネス要件を満たすことが必要です。
  • ステップ 2: 申請する
    以下に記載されたすべての要件を満たす場合は、申請プロセスにアクセスし、確認を受けるために申請することができます。
  • ステップ 3: 監査を実施して合格する
    最初の確認の後、2 日間の集中的な監査を実施するため、サード パーティーの監査人をご紹介します。
  • ステップ 4: 継続的な要件を満たす
    更新されたテクノロジ水準を貴社が引き続き満たしていることを確認するため、年に一度再評価が行われます。

 

ビジネスの重点エリア

マイクロソフトが定義するビジネス重点エリアにフォーカスいただくことで、その専門性がマイクロソフトから評価されます。以下が重点エリアとして現在考えられています。

 

製品

  • Dynamics 365 for Sales
  • Enterprise Mobility and Security

ソリューションエリアの重点エリア

  • クラウドへの移行
  • ハイパフォーマンスコンピューティング (HPC)
  • SharePoint ビジネスアプリケーション
  • エンタープライズコンテンツ管理

サービスの重点エリア

  • 展開
  • ライセンス管理

 

次回は、特典にまつわる変更について解説します。

 

関連記事

 

 

Get All SCOM Rules and Monitors, with their Alert details to a CSV

$
0
0

 

Quick Download:

https://gallery.technet.microsoft.com/Get-All-SCOM-Rules-853ecfde

 

This is a script that will generate a list of all Rule and Monitors in a SCOM deployment.

It will also gather important information, like if the workflows generates an alert or not, and the details of the alert like default priority and severity.

Rules:

  • DisplayName
  • Name
  • Target
  • Category
  • Enabled
  • Alert
  • Priority
  • Severity
  • Management Pack Display Name
  • Management Pack Name
  • Data Source
  • Description

Monitors:

  • DisplayName
  • Name
  • Target
  • Category
  • Enabled
  • Alert
  • Priority
  • Severity
  • Management Pack Display Name
  • Management Pack Name
  • Monitor Classification
  • Monitor Type
  • Description

 

 

image


Top Contributors Awards! System Center DPM 2012 and 2016: Compatible Tape Libraries and many more!

$
0
0

Welcome back for another analysis of contributions to TechNet Wiki over the last week.

First up, the weekly leader board snapshot...

As always, here are the results of another weekly crawl over the updated articles feed.

 

Ninja Award Most Revisions Award
Who has made the most individual revisions

 

#1 Richard Mueller with 96 revisions.

 

#2 George Chrysovaladis Grammatikos with 47 revisions.

 

#3 Dave Rendón with 44 revisions.

 

Just behind the winners but also worth a mention are:

 

#4 Peter Geelen with 26 revisions.

 

#5 Saeid Hasani with 12 revisions.

 

#6 Jyothi Suri with 11 revisions.

 

#7 Vadims Podans with 5 revisions.

 

#8 Mahdi Tehrani with 5 revisions.

 

#9 Mohsin_A_Khan with 4 revisions.

 

#10 pituach with 4 revisions.

 

Ninja Award Most Articles Updated Award
Who has updated the most articles

 

#1 Richard Mueller with 59 articles.

 

#2 Dave Rendón with 19 articles.

 

#3 George Chrysovaladis Grammatikos with 11 articles.

 

Just behind the winners but also worth a mention are:

 

#4 Saeid Hasani with 9 articles.

 

#5 Peter Geelen with 7 articles.

 

#6 karimSP with 4 articles.

 

#7 Vadims Podans with 4 articles.

 

#8 Mahdi Tehrani with 2 articles.

 

#9 Denis Dyagilev with 2 articles.

 

#10 RajeeshMenoth with 2 articles.

 

Ninja Award Most Updated Article Award
Largest amount of updated content in a single article

 

The article to have the most change this week was Uso del Traffic Manager de Azure para Failover de endpoints privados - Método manual (es-MX), by Dave Rendón

This week's reviser was Dave Rendón

 

Ninja Award Longest Article Award
Biggest article updated this week

 

This week's largest document to get some attention is Let's learn to make Shopping Cart using ASP.NET Core Blazor using EF and Web API, by SYEDSHANU - MVP

This week's reviser was Richard Mueller

 

Ninja Award Most Revised Article Award
Article with the most revisions in a week

 

This week's most fiddled with article is System Center DPM 2012 and 2016: Compatible Tape Libraries, by Rayne Wiselman [MSFT]. It was revised 10 times last week.

This week's reviser was Jyothi Suri

 

Ninja Award Most Popular Article Award
Collaboration is the name of the game!

 

The article to be updated by the most people this week is Azure SQL: Setup And Connect , by Nanddeep Nachan

This week's revisers were George Chrysovaladis Grammatikos, Dave Rendón, Richard Mueller & Nanddeep Nachan

 

Ninja Award Ninja Edit Award
A ninja needs lightning fast reactions!

 

Below is a list of this week's fastest ninja edits. That's an edit to an article after another person

 

Ninja Award Winner Summary
Let's celebrate our winners!

 

Below are a few statistics on this week's award winners.

Most Revisions Award Winner
The reviser is the winner of this category.

Richard Mueller

Richard Mueller has been interviewed on TechNet Wiki!

Richard Mueller has featured articles on TechNet Wiki!

Richard Mueller has won 232 previous Top Contributor Awards. Most recent five shown below:

Richard Mueller has TechNet Guru medals, for the following articles:

Richard Mueller's profile page

Most Articles Award Winner
The reviser is the winner of this category.

Richard Mueller

Richard Mueller is mentioned above.

Most Updated Article Award Winner
The author is the winner, as it is their article that has had the changes.

Dave Rendón

Dave Rendón has been interviewed on TechNet Wiki!

Dave Rendón has won 48 previous Top Contributor Awards. Most recent five shown below:

Dave Rendón has TechNet Guru medals, for the following articles:

Dave Rendón has not yet had any featured articles (see below)

Dave Rendón's profile page

Longest Article Award Winner
The author is the winner, as it is their article that is so long!

SYEDSHANU - MVP

SYEDSHANU has been interviewed on TechNet Wiki!

SYEDSHANU has won 17 previous Top Contributor Awards. Most recent five shown below:

SYEDSHANU has TechNet Guru medals, for the following articles:

SYEDSHANU has not yet had any featured articles (see below)

SYEDSHANU's profile page

Most Revised Article Winner
The author is the winner, as it is their article that has ben changed the most

Rayne Wiselman [MSFT]

Rayne Wiselman [MSFT] has won 4 previous Top Contributor Awards:

Rayne Wiselman [MSFT] has not yet had any interviews, featured articles or TechNet Guru medals (see below)

Rayne Wiselman [MSFT]'s profile page

Most Popular Article Winner
The author is the winner, as it is their article that has had the most attention.

Nanddeep Nachan

This is the first Top Contributors award for Nanddeep Nachan on TechNet Wiki! Congratulations Nanddeep Nachan!

Nanddeep Nachan has not yet had any interviews, featured articles or TechNet Guru medals (see below)

Nanddeep Nachan's profile page

Ninja Edit Award Winner
The author is the reviser, for it is their hand that is quickest!

George Chrysovaladis Grammatikos

George Chrysovaladis Grammatikos has won 12 previous Top Contributor Awards. Most recent five shown below:

George Chrysovaladis Grammatikos has not yet had any interviews, featured articles or TechNet Guru medals (see below)

George Chrysovaladis Grammatikos's profile page

 

 Says: Another great week from all in our community! Thank you all for so much great literature for us to read this week!

Please keep reading and contributing, because Sharing is caring..!!

 

Best regards,
— Ninja [Kamlesh Kumar]

 

FY19 マイクロソフト パートナー ネットワークの進化 (2)~さらに柔軟な特典【8/12 更新】

$
0
0

Inspire 2018 で発表がありました通り、パートナー様のソリューションを紹介し、適切なお客様に提供できるように、マイクロソフト パートナー ネットワークでは新しいサービスの提供やプログラムの強化に取り組んでいます。この記事では、その中のひとつの取り組みにフォーカスして、より深く掘り下げて取り組みをお知らせしていきます。

第一回目は、ビジネスプロファイルにまつわる変更点をお知らせしました。第二回目は、FY19 で実施される特典の変更に焦点を当てます。

 

さらに柔軟な特典

パートナーの皆様のメンバーシップ特典を変更し、パートナーがコンピテンシーを取得すると、自社のビジネスフォーカスに最も適した「特典パッケージ」を選択する柔軟性を得ることができるようになります。獲得したコンピテンシーとは独立に、パートナーは4つの新しい特典パッケージを選択できます。この 4 つは、当社の 4 つの戦略的ソリューション領域 (モダンワークプレース、ビジネスアプリケーション、データとAI、アプリケーションとインフラストラクチャ) と対応しており、これらの特典パッケージが柔軟性を上げる仕組みとして働き、これらのソリューション領域のプラクティスがが成長するにつれて、より多くの特典を提供します。

各特典パッケージには、そのソリューション領域で最も頻繁に使用される基本特典と追加特典が含まれ、パートナーがアプリケーション、サービス、プラクティスを構築するのに役立ちます。

 

4 つのソリューション領域の特典パッケージとは

  • モダンワークプレース: Microsoft 365 上でサービスを提供するパートナー向け
  • ビジネスアプリケーション: Dynamics 365 上でソリューションを構築するパートナー向け
  • データとAI: Power BI と SQL Server、高度な分析ソリューション にフォーカスするパートナー向け
  • アプリケーションとインフラストラクチャ: マイクロソフトプラットフォーム上でアプリケーションやソリューションを構築、提供するパートナー向け

 

仕組みの詳細

1.コンピテンシーの取得 (Silver または Gold)

パートナーは特定の技術領域でのテクニカルスキル、製品のパフォーマンス要件、またはその組み合わせを達成していることを表現できます。

 

1-1.アクションパックの場合

アクションパックは MPN 無料会員が有料で購入できる特典です。以下の 3 種類に分かれます。

  • Action Pack: サービスビジネスを構築するパートナー向け
  • Action Pack for Learning Partners: マイクロソフトのトレーニングサービスを開発するパートナー向け
  • ISV Starter Kit: パッケージアプリケーションを開発するパートナー向け

 

2.特典パッケージの提供

2-1.特典内容の分類

特典は以下の 3 種類に分かれます。

  • 社内使用ライセンス (IUR)
  • テクニカルサービス
  • Go-To-Market サービス

2-2.追加特典

特典パッケージは基本特典パッケージと追加特典パッケージに分かれます。追加特典パッケージはさらに以下の 2 種類に分かれます。

  • 獲得特典: より高いパフォーマンスと専門性を達成することで、基本特典パッケージで提供されているもの以上を得ることができます。
  • 有料特典: 獲得したコンピテンシーレベルと同等以下のコンピテンシーの追加特典を購入することができます。

2-3.Go-To-Market サービス

選択する特典パッケージの種類に寄らず、どのパートナーも顧客にサービスを販売するための Go-To-Market サービスをご利用になれます。Go-To-Market サービスには無償のものと有償のものがあります。

 

無料メンバーか
アクションパックメンバー
Silver コンピテンシー
パートナー
Gold コンピテンシー
パートナー
特典により期待される結果 マーケティング技能の最適化

マーケティング/セールスの技能を向上させるための教育、コンテンツ、リソースの提供

マイクロソフトとの共同マーケティング

共同マーケティングやデジタル世界での存在感を増すご支援にフォーカス

マイクロソフトとのセールスを最大化

マイクロソフトとの共同メッセージの作成、リードの獲得とセールススピードの向上にフォーカス

主な特典内容 教育、コンテンツ提供、シンジケーション キャンペーンキットのテンプレート、マーケティングコンサルティング、リスティングの最適化 Partner Demand Center にリード獲得アセットを実装、共同マーケティングアセット、セールス活動開始キット、需要生成活動

 

GTM サービス特典の詳細については、また場を改めてご説明します。

 

関連記事

 

Teaching Maths With Microsoft HoloLens

$
0
0

I've blogged previously about Subash Chandar K exploring the possibilities of Microsoft HoloLens with his maths students and now there is a great video above capturing the enthusiasm of his students.

After the experience, one of Subash's students commented:

“We are a generation that learns through examples and visualisation, not explanation and reading, and HoloLens is supportive of this. It helps us rediscover the touch of ingenuity we have lost through the boring, old methods and disconnected learning environments.

“HoloLens inspires critical thinking. It has tremendous potential because it gives us as students so much freedom to experiment, and the only limits are our creativity and imagination. This is not changing what we learn but simply how we learn it, and it may just be the solution to the problems of our education system.”

HoloLens3It's an interesting observation from the perspective of an active participant in the New Zealand education system and I shared it with 32 Principals from the Taranaki region last week. I was asked to step in at short notice and talk about Microsoft Mixed Reality and HoloLens to them and then allow them to experience it first hand with a HoloLens unit I had managed to borrow for the session.

It was interesting observing how they immersed in the experience they were and also how intuitively they picked up the gesture controls. I've demonstrated HoloLens to hundreds of people and there is always a spectrum of how quickly they learn to use it - these Principals were sharp!

As more providers like Pearson Education develop HoloLens educational apps the appeal of  Mixed Reality in the classroom will only grow. Meanwhile, the commercial and enterprise sectors completely understand how this will transform marketing and design, with Mercedes Benz recently releasing a video showcasing HoloLens with the question posted:

How do you present invisible technology?

Mixed Reality is the perfect medium to visualize the underlying safety features built into a vehicle, by connecting real objects (the car, the observers) with projected scenarios (the holographic cyclist) and how the "invisible technology" actually operates (the sensors constantly scanning the environment around the vehicle and triggering warnings).

This is hugely exciting technology that will invariably become more mainstream in classrooms and beyond.

Searching for Sensitive Information Types

$
0
0

Over the course of your Office 365 administration duties, you may be called to locate data matching particular data patterns (such as matching a particular regular expression or a Sensitive Information Type), either for eDiscovery or data classification purposes.  The good news is you can actually do that.  In this post, we're going to walk through a couple of ways of identifying sensitive data using the custom DLP rule package entities in my previous post.  The sensitive information types we're going to look for are U.S. Social Security Numbers (but these steps will work for any of the sensitive information types).

Content Search and eDiscovery

In this set of steps, we're going to choose a sensitive information type to search for using either PowerShell or the portal, and then use either Content Search or an eDiscovery case to look for matching content.

  1. Connect to the Office 365 PowerShell for the Compliance Center or navigate to the Security & Compliance Center | Classifications | Sensitive Information Types page and look for the name of the sensitive information type you wish to identify in Office 365.
  2. If doing it through PowerShell:
    1. Connect to Office 365 PowerShell:
      $Credential = Get-Credential
      $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Credential -Authentication Basic -AllowRedirection
      Import-PSSession $Session
      Connect-MsolService -Credential $Credential
      $ComplianceSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid -Credential $Credential -Authentication Basic -AllowRedirection
      Import-PSSession $ComplianceSession -AllowClobber
    2. Since the sensitive information types we're looking for have a "Undocumented Features" as the publisher and Social Security as part of the name, we can run this cmdlet to create the filter we want:
      (Get-DlpSensitiveInformationType | ? { $_.Publisher -eq "Undocumented Features" -and $_.Name -like "*social security*" }).Name

    3. Keep this value handy.  You'll need to copy and paste these names into a search box later on.
  3. If doing it through the Security & Compliance Center user interface, open a separate browser window or tab to the Sensitive Information Types page and keep the page handy.  You'll need to copy and paste these names into a search box later on.
  4. Open the Security & Compliance Center| Search & Investigation and either create an eDiscovery case with a search or do a Content Search.  In this example, I'm just going to do a Content Search (since the search interface and process is nearly identical for an eDiscovery case).
  5. Create a search.  You can select + Guided Search follow the bouncing ball select + New Search and enter data directly in the keywords box.  I did the wizard just because I like steps.
  6. Name the search.
  7. Select locations and click Next.
  8. On the Condition Card, snter a search for a Sensitive Information Type using the names of the Sensitive Type rules under Classifications | Sensitive Information Types or from the PowerShell cmdlet earler, and then click Finish. The format is SensitiveType:"<name>" .  For each additional search term, make sure you use a capital OR.  You'll need the names of the sensitive information templates earlier.  In my case, I'm going to use:
    SensitiveType:"Social Security Number Only (Function)" OR SensitiveType:"Social Security Number Only (Regular Expression)"
    
  9. Click Finish.
  10. Review the results.
  11. Export the results as necessary.

Applying labels for classification and search

You can create a label/classification for content and search for that in your tenant as well.  When using a label, you can either publish it (so that users can choose to apply it to relevant content) or you can publish and automatically apply it, meaning that if the content matches the rules of the sensitive information type, the label will be applied to the content automatically.

 

  1. Create a label in the Security & Compliance Center.  I created one called Social Security Label.  You can find detailed instructions for doing so here, but the gist is launch https://protection.office.com/#/tagslibrary, click + Create label, and then enter a name for it.
  2. Publish the label.  You can auto apply (EMS E5) or manual (EMS E3) the label.  I’m going to do auto application.  To do so, select the label, and then select Auto apply label.
  3. Verify that the label is correct and click Next.
  4. Select the radio button Apply label to content that contains sensitive information and click Next.
  5. Select Custom and click Next.
    +
  6. On the Sensitive information picker page, click + Add.
  7. Select the sensitive information types from the list displayed, and then click Add.
  8. Confirm the sensitive information types show up in the list and then click Done.
  9. Verify settings and click Next.
  10. Name the label policy (and optionally, you can provide a description) and click Next.
  11. Select a location and click Next.
  12. Confirm and click Auto-apply.  Note the name of the label that will be applied (located at the bottom of the page).

Searching for a label

Once you have applied labels to your content, you can then use content search to look for those values applied.  The user interface search term we're going to leverage is Compliance Tag.

  1. Launch Search & Investigation and either create a case and a new search or just do a content search.  For this example, we're just going to navigate to content search, but the same process applies to eDiscovery cases.
  2. Click + New search.
  3. Select the appropriate Locations radio button (I'm just going to search everything because it's easy in this example), and then click the + Add conditions button.
  4. Select Compliance Tag out of the list, and then click Add.
  5. In the Conditions box, enter Social Security Label (the value specified in the last step of the previous section) and then click Save & run.  Don't enter quotes, or you'll receive this error later: The query of the search is invalid: Specified argument was out of the range of valid values. Parameter name: Double quotation mark in the middle of string property value is not supported by KQL.
  6. Enter a name for the search and click Save.
  7. After search completes, you can preview up to 500 of the returned results or export as you normally would.

Congratulations! You've got this.

Update to the AAD Connect Advanced Permissions Tool

$
0
0

Woo! A day of updates!  I've made  a few updates to this tool, so hopefully you'll find them useful:

2018-08-12: A reader noticed that the UpdateAdminSDHolder switch didn't work ask expected when specifying the ExchangeHybridWriteBack OU without the ExchangeHybridWriteBackOUs parameter.  I have found and updated that!  Thanks, Mark!

2018-06-03: A large customer asked if I could put a parameter in to skip delegating writeback permissions to InetOrgPerson objects.  Asked and answered!

As always, the updated version is available at http://aka.ms/aadpermissions.  Happy delegating!

Viewing all 36188 articles
Browse latest View live